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 am generating bezier curve as a path and I want a sphere to follow on that path, it works fine but I wanna add some collision detection so I am using cannon for converting three js mesh to hysical object but when as I am setting the api position on curve path it starts to offset in some direction slowly and doesnt really stays on path it works perfectly fine if I set the position on ref instead of api but then it doesnt really detects the collision,
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I am generating bezier curve as a path and I want a sphere to follow on that path, it works fine but I wanna add some collision detection so I am using cannon for converting three js mesh to hysical object but when as I am setting the api position on curve path it starts to offset in some direction slowly and doesnt really stays on path it works perfectly fine if I set the position on ref instead of api but then it doesnt really detects the collision,
here is the example of what I am doing
Beta Was this translation helpful? Give feedback.
All reactions