Game Development Reference
In-Depth Information
3 a. If you want the collision to be detected at all times leave the
Global Collision Box checked.
OR
3 b. If you want the collision to be detected only when a specific
Action is being performed, uncheck the Global Collision box
and then choose an Action from the dropdown list.
4 Click Insert to add the collision and give it a name in the box
provided.
5 Choose the type of collision to detect:
Y equals zero - detects whether the Toon's Y position value is equal to
or less than zero.
Minimum position - minimum X , Y , Z values that the Toon can
reach.
Maximum position - maximum X , Y , Z values that the Toon can reach.
Toon - detects a collision with another Toon.
Collision Box - detects a collision with a static collision box.
6 Set the Glance angle.
The Glance angle can help prevent the scenario when you are travelling
almost parallel to a collision box and you keep generating an unwanted
collision. Setting a low Glance angle (typically 5-10°) will cause the Toon
to travel parallel to the collision box without generating the collision,
unless an Action is specified in the Less than glance angle box. Setting
the Glance angle to 0 will always generate a collision, setting it to 90 will
never generate a collision.
The Glance angle feature in Toon3D only works with objects travelling
in the - Z direction. If you wish to use the glance angle feature, orientate
your environment so the Toon using the glance angle collision moves
mainly in the - Z direction.
7 Select an Action to perform upon detection of the collision when
Less than the glance angle from the dropdown list, if required.
If you select an Action for a Less than glance angle collision then the Toon
will perform this Action and not be redirected to travel parallel with the
collision box.
8 Select an Action to perform upon detection of the collision when
Greater than the glance angle from the dropdown list.
Search Nedrilad ::




Custom Search