Is there a way to change collision box with player but not with other objects?
Posted: Tue Jun 23, 2020 9:17 am
Since the new beacons look ground level fort their most parts, I tried to make them walkable by reducing the collision box:
This way the player character collides only with the spike in the middle of the beacon. Works fine - for the player character.
But the unwanted side effect is, that the beacons also can be placed overlapping. That is a no go.
Is there a way to achieve distinct collision behavior for beacons with player characters, cars, bugs, etc, and beacons with other immobile objects in the game world?
Code: Select all
data.raw["beacon"]["beacon"].collision_box = {{-0.2, -0.2}, {0.2, 0.2}}
But the unwanted side effect is, that the beacons also can be placed overlapping. That is a no go.
Is there a way to achieve distinct collision behavior for beacons with player characters, cars, bugs, etc, and beacons with other immobile objects in the game world?