Customize a Terrain with Collision Detection

If props are added, they can be made part of the terrain. If the prop is high enough, the actor will not be able to pass through it if the Collision setting is activated.

Customize a Terrain with Collision Detection

  1. Follow the step 1 and 2 above.

  2. Select the prop, such as a wall, you want to be a block to hinder the moving object.

  3. Go to the Set/Props/Modify page. In the Prop section, check the Collision box.

  4. Right-click on the prop and select Add to Terrain from the right-click menu.

  5. In the Director Mode, direct the moving object to try to move through the terrain wall.

Click on the spot the arrow is indicating to set the destination the actor should walk to.

The actor will try to bypass the wall as it detects the collision.

The Collision of the wall is Unchecked

The Collision of the wall is Checked

Note:

  • It is like adding a sensor in front of the Actors or iProps. iClone probes the distance that is blocked ahead of these two types of objects and determines whether to stop or bypass the object that is blocking it.

  • The probe distance starts at the object's pivot.

  • Technique to Set Blockage

    If you convert a prop to become part of the terrain but still want the actor or iProp to be able to pass through the holes or gates of the prop, you will not be able to achieve this when you turn on the Collision Detection. In this section, we will show you how to achieve this goal by using hidden 3D blocks to set the Collision Detection.

    1. Please apply the Arc de Triomphe prop into project.

    2. Turn on the Collision of it and Add to Terrain.

    3. Command the actor to move through the gate to the place marked by the blue circle.

    The actor will stop in front of the gate instead of passing through it. This is because we turned on the Collision detection and the prop generates blockage equaling its entire bounding mesh.

    The actor stops in front of the prop.

    The blockage of the prop.


    To solve this problem, please follow the steps below.

    1. Apply the Arc de Triomphe into project.

    2. Do Not Turn On the Collision and Add to Terrain. This will allow the actors or iProps to pass through it.

    3. Apply two 3D Blocks to the project. Adjust the size and position of the blocks.

    1. Set their Opacity to 0.

    2. Turn their Collision on and then Add to Terrain.

    The blockage of the two 3D block props.

    The actor can now pass through the gate.