Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bug / Crash  Teleporting Characters with Solver
#3
(20-03-2023, 06:12 PM)masamoto Wrote: We also have some enemies with Pipes dangling from it. The normal spawn and Teleportation close to Origin didn't create any problems. But Teleporting stuff across the map breaks everything at the moment.

Hi!

If your character contains a solver, setting the position/rotation of the character will also set the position/rotation of all Obi actors in it, since actors are simulated in the solver's local space. No need to explicitly call Teleport() on the actors.

This also prevents any floating-point precision issues when characters are far away from the scene's origin, since the coordinate system used for simulation is relative to the solver, not the world's origin.

kind regards,
Reply


Messages In This Thread
Teleporting Characters with Solver - by masamoto - 20-03-2023, 04:06 PM
RE: Teleporting Characters with Solver - by josemendez - 20-03-2023, 10:11 PM