Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: Sagehorn on June 24, 2015, 12:22:38 PM

Title: 3D Point and Click: Moving on Hills etc
Post by: Sagehorn on June 24, 2015, 12:22:38 PM
Hi there

"Simple" Question: What is the best way to let characters walk on hills without running through the hill or hovering on top..

I'm using iTween Actions but that - literally - seems to be the wrong way.. 
Title: Re: 3D Point and Click: Moving on Hills etc
Post by: terri on June 24, 2015, 01:17:48 PM
Best way is probably using navmesh and setting a destination for the character.

I'm assuming you're just starting out and pathfinding might seem a bit advanced right now, but you'll probably have to deal with it sooner or later unless your character will move without ever having to find its way around things.

edit:
Without pathfinding you could use Move Towards. In both cases the character needs a Character Controller, if I'm not mistaken.
Title: Re: 3D Point and Click: Moving on Hills etc
Post by: Sagehorn on June 24, 2015, 05:07:17 PM
Thx for your reply.

I just forgot to create a nav mesh agent for the player and baking it all. Now it works with "i tween move to"
Title: Re: 3D Point and Click: Moving on Hills etc
Post by: terri on June 25, 2015, 04:23:50 PM
really? huh didn't think itween had anything to do with navmesh