I have a list of Vector3 and a list of speed between each vector
I was looking through documentation and open projects, most people are using the rigid body for this.
Is there a simple function to translate an object from the current position to the target with a specific speed?
I don’t need any collision detection or anything, only moving and rotating to target
I think the following example can be of help in this case, it uses the pc.Curve class to interpolate between a set of given points.
Thank you for link , but since i am new with PlayCanvas , is there any simple function like in Unity :
transform.position = Vector3.MoveTowards(transform.position, Vector3Data[target], SpeedData[target]*speed);
Good, I think then you can do that easily with the PlayCanvas tween library. It’s quite flexible and in a sense an one liner with properties: