Hello,
If could someone help me to find the sample where I can use XYZ coordinates to biuld the trajectory of object movement…
Thanks to all for attention.
Hello,
If could someone help me to find the sample where I can use XYZ coordinates to biuld the trajectory of object movement…
Thanks to all for attention.
Its like a car moving on road, closed trajectory…
It’s not easy to predict the movement of a rigid body unless you are using a known equation to move it. Check this library that may be of help:
If it’s a race truck then can’t you model a spline (curved line) in a modelling app and use that to render an approximate trajectory?
There are a lot of abilities in this program, what do you mean exactly…!?
I have all basic geometry (lines, splines, points) from which this road was built.
I can also pick up XYZ coordinates in any step which will need to build smooth movement…
Then I can imagine you can do the following:
https://developer.playcanvas.com/en/api/pc.Mesh.html
https://developer.playcanvas.com/en/tutorials/camera-following-a-path/
Pls be in touch, I need to try…
Solved, sample “camera-folowing” helped, everything works…