You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a character controller with some moving platforms.
My character type is dynamic and platform is kinematicPosition, but when I update the position of platforms to move them, when I jump on the platform it does not follow the platform position
I tried to use setNextKinematicTranslation instead of position but it does not work.
I guess you need the source code to get an idea but there is a lot of code, I just wanted to know if someone here can provide me a link or some documentation on what we have to do to make work our character following moving objects when we are on it?
So, after spending one month on this problem, I finally found the issue!
It turns out that setNextKinematicTranslation expects an object like {x: 0, y: 0, z: 0} instead of an array like [x: 0, y: 0, z: 0].
The documentation for kinematic-related topics is quite sparse. I had to dig into the project's source code to debug it manually and understand how it works. Unfortunately, the IDE doesn't help much either, likely because the library doesn't provide all the necessary type information.
I’m leaving this issue open because I believe it highlights a real problem. The documentation should be updated to include more detailed explanations for kinematic functionality.
Hi,
I have a character controller with some moving platforms.
My character type is
dynamic
and platform iskinematicPosition
, but when I update the position of platforms to move them, when I jump on the platform it does not follow the platform positionI tried to use
setNextKinematicTranslation
instead ofposition
but it does not work.I guess you need the source code to get an idea but there is a lot of code, I just wanted to know if someone here can provide me a link or some documentation on what we have to do to make work our character following moving objects when we are on it?
My problem is similar to this one: pmndrs/react-three-fiber#1949
Thanks
The text was updated successfully, but these errors were encountered: