Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - marvoc

Pages: 1 2 [3]
Hi Jean,
 thanks a lot its WORKING :)) nice and thanks for your help ;)
So we can (I dont know how) mark this thread as solved.

 thanks for your response ;)
So I made it in some way ;) I mean, that Smoot Look At Direction is working, because I created Raycasts, which one is saving Hit position and Normal, from a tank and second is on empty object in front (offset more up, if its going up to the hill) of a vehicle.
Then I made a vector between them (Vector3 operator with Subtract) and use it as Target direction for Smoot Look At Direction. And Up Vector Im using Normal from ground.

But now I have again some weird behaviour, which is:
Tank, after starting of a level, is rotating around Y axis in 180 degree. So I have back of a tank in its front.

Here you can see it on short video:

Any ideas? :)

Hi again,
 so I tried this approach:

and it works, but move was shaking, so still nothing to use. Seems that interpolation wasn't smooth.
I believe still that Smoot Look At Direction could get best result, but have no idea, how to make it..
Someone who knows? :)


Have to tried playing around with the up vector and keep vertical?

Maybe look toward actions can help or mouse look

I was trying keep vertical, but then there is no effect of leaning on the hill.
The same was if I put 0,1,0 to Up Vector (I tried even different numbers on different axis).
But what is weird, that is it working, but only first time is rotating badly..
If I use another action, for me isn't the best, because Im then bending some functionality what is somehow working. Except of first rotation ;) And everything on a cube is with rotation 0,0,0.

Btw, I'm not sure what do you mean "look toward actions can help or mouse look" I can't find them :/

Hello :),
 I’ve started play with Playmaker one moth ago and now I reach point where Im not sure if is it an error or my mistake.
I made this showcase video:
Imagine that red box is a tank (shape when is scaled).

So my issue that box when is using Smooth Look At Direction is starting rotating, but for me, without reason. Im using nav mesh and mouse pick for move.
I tried move with keyboard and is still the same.
I want raycast below tank, so Y = -1, and its working if I check debug line.

Im adding picture of settings too.
And I checked sample "Raycast Hit Normal" too.. but there is everything fine :)

Any ideas? :)

And, btw, this is an amazing plugin for Unity :) thanks for it!

Pages: 1 2 [3]