Game Development Reference
In-Depth Information
If an object was a base level parent, or a Bendy Point target object, then
it would normally be the one assigned as a Toon. All child and control
objects would be assigned to the Toon.
To develop interactivity for a Toon you must assign it behaviours.
Collision boxes
Collision boxes are bounding rectangles that are used to trigger
behaviours in Toon when they intersect other collision boxes. They have
no orientation, only position and size.
There are two types of collision boxes in Toon3D, Toon collision
boxes and World collision boxes .
Toon collision boxes
When you create a Toon, a collision box that is the same size and position
as the bounding rectangle of the Toon base object is created by default.
A Toon's collision box is always relative to the Toon's position and scale
(i.e. it always moves and scales with the Toon).
The relative position and scale are set by selecting the collision box and
scaling and positioning in the Stage Window as you would an object or
any other control.
To reset the collision box to the default values, right click it and select
Reset.
World collision boxes
1 Select Collision box in the Control Window and right click and
select Create Collision box.
Positioning and scaling a world collision box follows the same process as
for objects. The usual use of a world collision box is to set a collision area
around a static object.
Deleting collision boxes
1 Select Collision box in the Control Window and right click and
select Delete Collision box.
Search Nedrilad ::




Custom Search