playMaker

Author Topic: Moving a Rigid Body to a Specific Location? [SOLVED]  (Read 1708 times)

frogwise

  • Playmaker Newbie
  • *
  • Posts: 49
Moving a Rigid Body to a Specific Location? [SOLVED]
« 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.
« Last Edit: December 10, 2017, 01:55:10 PM by djaydino »

tcmeric

  • Beta Group
  • Hero Member
  • *
  • Posts: 768
Re: Moving a Rigid Body to a Specific Location?
« Reply #1 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:

frogwise

  • Playmaker Newbie
  • *
  • Posts: 49
Re: Moving a Rigid Body to a Specific Location?
« Reply #2 on: December 10, 2017, 12:23:25 AM »
This looks like it might be exactly what I need! Thanks so much.