Jump to content

Dead Ped spawns/floats in the air


Recommended Posts

Posted (edited)

Hi all,

 

i currently face an issue, where my spawned ped, which i Suspect.Kill(); at spawning, floats in the air, like 1m above the ground. If i touch it with my Character, it falls down to the ground, as it should be.

e.g. at this position

new Vector3(1571.504f, 3592.323f, 35.362f)

Is there anything i can do or is it some limitaion of the game?

 

thanks,

totem

wrong forum, damn, sorry, please move it to the right forum 🙂

Edited by totemsteiner
Link to comment
Share on other sites

ok, i fixed it myself, i think. I put in an

            GameFiber.Wait(10);

so the peds reach the ground with their feet, and then the suspect dies with the kill command.

 

i have to try it out with all my spawns, but looks promising,

 

thanks,

totem

Link to comment
Share on other sites

  • Community Team

I0B5P1Y.png

This topic has been moved to the appropriate forum. Please post in the correct location in the future.

spacer.png

       -- LSPD - Collin Gregory - Police Officer III --

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...