Jump to content

Mr.Someone

Disabling Freefall animation

Recommended Posts

Hi

 

I am currently working on a mission that has a teleport point to a high place.

the problem with that is that when i teleport to that high place the player spawns with a static freefall animation and only after a couple of seconds it corrects itself to there being a floor object underneath

AI on the other hand don't experience that. I was wondering if and how i can prevent that from happening

 

Thanks!

Share this post


Link to post
Share on other sites

Maybe disableSimulation for a short while ?

Share this post


Link to post
Share on other sites
  On 12/2/2019 at 8:05 PM, Mr H. said:

Maybe disableSimulation for a short while ?

How would i go about doing that?

Share this post


Link to post
Share on other sites

Well, line before setting players new position, enableSimulation false and line after the "teleportation", enableSimulation true should do the trick.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×