View unanswered posts | View active topics


Post a new topicPost a reply
Previous topic | Next topic 

User avatar   Beginner BeginnerMember since: 25.12.2011, 10:44Posts: 59 Likes: 0
 

 Post Topic: [problem]How to Use "Movement" FlowGraph node??
PostPosted 13.05.2012, 04:53 
I dont know How to use "Movement" FlowGraph node.There is blank in CryEngine Free SDK Doc. I
am so puzzle. Anyone tell me?
specially:I wanna make vehicle Rotate itself when it Enter one ProximityTrigger zone.And I use node "Movement:RotateEntity".But this node dosent have a input of Trigger.So I dont know how to make node enable when vehicle enter ProximityTrigger.It just rotate itself at begining.
Somebody give me some help!
Attachments:

4.png

User avatar   Beginner BeginnerMember since: 25.12.2011, 10:44Posts: 59 Likes: 0
 

 Post Topic: Re: [problem]How to Use "Movement" FlowGraph node??
PostPosted 13.05.2012, 05:02 
hey hey hey
Luckly! I find a solution
5.png
But I still dont understand value "Destination" .I am so puzzle about "x,y,z". How to use it?
Maybe u guys could help me?
  Uber Modder Uber ModderMember since: 18.01.2010, 23:11Posts: 1730 Likes: 0
 

 Post Topic: Re: [problem]How to Use "Movement" FlowGraph node??
PostPosted 15.05.2012, 03:00 
Dark blue arrow = boolean, so 1 = true / "on" 0 = false / "off"
You can use math to / from boolean too for that.

For the movement nodes.

Well "destination" are vectors.
So
- for the movement nodes x y z world coordonate.
- for rotation, degree angle on the axis ( thoses visible when you select whatever entity ) like destination 0,0,90 will rotate you entity to 90° on the z axis, but 90° in the world coordonate, not local.

Rotateentity use speed instead of destination. Like 2Odegree/sec on the z axis if you set the speed to 0,0,20.
and "pause" = o to make the rotation start, pause = 1 to stop.

The moveto / rotateto cant be used since they dont have entity input.

Other nodes use start input to start. And i guesd the other input like "time" "speed" "stop" are pretty obvious.

Like speed = m/s and time = sec. ( like in how many time you want your movement / rotation last )

I guess you should do somes test by yourself to understand how thoses nodes work ^^

You should take a look at the "entity:getpos" and "entity:pos" node. You can look at the vec3 node too. Allowing somes basic operation on vectors ( sames vectors like in mathematic ^^)

Well hope it help.
User avatar   Beginner BeginnerMember since: 25.12.2011, 10:44Posts: 59 Likes: 0
 

 Post Topic: Re: [problem]How to Use "Movement" FlowGraph node??
PostPosted 15.05.2012, 05:21 
Quote by wootwoots:
Dark blue arrow = boolean, so 1 = true / "on" 0 = false / "off"
You can use math to / from boolean too for that.

For the movement nodes.

Well "destination" are vectors.
So
- for the movement nodes x y z world coordonate.
- for rotation, degree angle on the axis ( thoses visible when you select whatever entity ) like destination 0,0,90 will rotate you entity to 90° on the z axis, but 90° in the world coordonate, not local.

Rotateentity use speed instead of destination. Like 2Odegree/sec on the z axis if you set the speed to 0,0,20.
and "pause" = o to make the rotation start, pause = 1 to stop.

The moveto / rotateto cant be used since they dont have entity input.

Other nodes use start input to start. And i guesd the other input like "time" "speed" "stop" are pretty obvious.

Like speed = m/s and time = sec. ( like in how many time you want your movement / rotation last )

I guess you should do somes test by yourself to understand how thoses nodes work ^^

You should take a look at the "entity:getpos" and "entity:pos" node. You can look at the vec3 node too. Allowing somes basic operation on vectors ( sames vectors like in mathematic ^^)

Well hope it help.


Thank u so much! I got it!