Jump to content

Instant move of PlayerSpectator


photo

Recommended Posts

Hello!

I have player spectator on position1.

I need to move it to position2 as soon as possible, but I can't use setWorldPosition() method since in this case any collision influence will be ignored.

How can I do this?

Link to comment

PlayerSpectator has no body inside it and its collision behavior is much simpler.

So you can just apply transform and call updateControls() to recalculate collisions.

Link to comment
×
×
  • Create New...