spicymilk Registered User |
Quote
|
2024-02-18 18:38:23 |
|
So if it is possible how would I detect when a vehicle hits a wall or something like that? and play an affect and change a variable?
|
VP Guest |
Quote
|
2024-02-20 09:47:21 |
|
Possible without coding, check my VP itch.io page for examples of events triggered by vehicle collision on cars and helicopters (escape from new york and rebel county has this feature - try flying the helicopters or drive the cars into a building/wall etc).
If you try to use coppercube's "collide when moved" option on vehicles/people, you'll notice that they will pass through each other instead of colliding - ie: moving objects will only collide with static objects which have "collision" enabled.
If you want moving objects to collide with each other, simply use my "special_child" action to child a static cube to your vehicle - then make sure "collision" is enabled for the cube. *See my "prevent bunching" ccb file as a good example of dynamic collision system.
[url]https://veganpete.itch.io/free-coppercube-prefabs[url]
|