Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: frogwise on November 27, 2017, 11:37:07 PM

Title: Moving a Rigid Body to a Specific Location? [SOLVED]
Post by: frogwise on November 27, 2017, 11:37:07 PM
I have a boat object on water and an RTS camera view. I would like to move the boat around the lake by clicking the destination. The boat should rotate to destination and move to destination smoothly.

I am having trouble doing this with regular Move To and Look At actions, as I feel they don't provide me the control I need in terms of getting to the destination at a speed that is based on how far away the click was.

I was thinking treating the boat as a Rigid Body would help, I just don't know how to get a rigid body to look at/move to a specific location.
Title: Re: Moving a Rigid Body to a Specific Location?
Post by: tcmeric on November 29, 2017, 02:55:12 AM
Have you tried using navmesh? Navmesh uses acceleration and deceleration. As well as it faces towards the destination.

Here is a playmaker tutorial on point and click movement with navmesh:
Title: Re: Moving a Rigid Body to a Specific Location?
Post by: frogwise on December 10, 2017, 12:23:25 AM
This looks like it might be exactly what I need! Thanks so much.