Saturday, October 30, 2010

EXP 2: Mastery Two – Entity:EntityPos



Note: Recommended to view at 1080p HD.

The mastery video demonstration beneath portrays the use of the Entity:EntityPos flow graph node to calculate the local players world co-ordinates to effectively define the rotation of numerous individual entities which are attached to central point cube. Through the use of an addition control system within the flow graph one is able to control the rotational axis as which the local player’s position influences. Such enables one to accurately control the rotational angle upon a single axis rather than upon all three. Furthermore one is able define the sensitivity of the rotation in relation to the local players movement upon each individual axis separately. The manner in which this is all achieved is portrayed beneath.

The following flow graph consists of three similar components with simply different values. The local player’s position if compared to the position of the rotation point cube, before the resultant is split into individual axis, and changed, upon when it is then multiplied by a set value for each axis. The resultant is run through logic gate, to check to see whether it is too be run depending upon a key input, if so the entity’s rotational value is altered accordingly. If not, the operation is stoped.

No comments:

Post a Comment