Method SetColliderObject
SetColliderObject(RideID, RideID)
Terrains loaded via AssetBundle have their collider and renderer separated into different objects to allow for different LODs for each. This sets the collider object.
Declaration
void SetColliderObject(RideID terrainAttribute, RideID colliderObject)
Parameters
Type | Name | Description |
---|---|---|
RideID | terrainAttribute | RideID of the terrain attribute |
RideID | colliderObject | RideID of the object containing the tile's collider |