ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > Help with CopperCube
forum topic indicator problem with moving/destroying a scene node
person icon
tuxthesofa
Registered User
Quote
2024-01-10 17:17:33

ok, so i finished a short game for a school jam (mentioned it in my car thread), but i needed to work around some issues, mainly this one. so i made a gate and when clicked on button it was supposed to move/entirely delete itself. i could walk trough the area where the gate was previously located. but when i finished the game and started testing, suddenly, the area where the gate moved from was being blocked like a invisbile wall. this problem has gotten on other levels too. can someone help cuz i want to make a more refined version of the game

person icon
Guest
Guest
Quote
2024-01-10 20:46:01

I don't recall if there is a default action for this or not, but if you're using physics, then you need to call this function from an Execute Java Script action right after you delete the node:


ccbUpdatePhysicsGeometry();


Just copy and paste the line into the Execute Java Script action and make sure you include the semicolon. This should update the collision so the "invisible wall" disappears. Note: you only need to do this because you are using physics.


Create reply:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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