Skip to content

Teleportation (Moving) the Body with Constraints #1396

Answered by jrouwe
Logris asked this question in Q&A
Discussion options

You must be logged in to vote

You would have to call BodyInterface::SetPositionAndRotation on B, C and D too and place them so that their relative position/orientation to A is unchanged. I would also recommend doing a collision check to see if the space that you're moving A .. D to is not occupied.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Logris
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants