SetHalfVehicleSolidMask

Category: Objects / Status
Since engine version: 1.0 OC

Description

Change the material type of an activated solid mask. Activating HalfVehicle solid masks will allow objects to phase through the solid mask from below but keep normal behavior when standing on it or falling through.

Syntax

void SetHalfVehicleSolidMask(bool set);

Parameter

set:
Whether to activate or deactivate

Remark

Solid areas will internally be drawn in the landscape using the "Vehicle" material.

Example

SetHalfVehicleSolidMask(true); // do not forget to pass the parameter!
Caesar, 2016-01