Hi
Im making a playmaker script for the ecosystem and I have one issue about using MoveTowards. My script is a moving platform script which takes a 'start point', 'end point' and moves the owner to each one (like ping pong)
The issue is when the 'time scale' is set to '0' in the game I noticed that the platform will giter (jump a few frames or forces the platform object to the end frame in the motion) when set. Why is this and how can i prevent this and have the platform remain in the same spot and continue when 'timescale' is restored to '1'?
if(Switch.Value && (Time.time > pauseTime.Value))
{
owner.transform.position = Vector3.MoveTowards(owner.transform.position, origin.transform.position, Speed.Value);
arrivedAtOurDestination = false;
}
Hope I'm making sense
Nick