Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > Help with CopperCube
Vehichle collision

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]


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Internat?onal" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact