≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
[BUG?] Deleted Node, Collision Remains
Posted by:
(you are not logged in)
Enter the missing letter in: "Internation?l"
(you are not logged in)
Text:
[quote][b][/b] wrote: If you have physics simulation enabled for your game then this might happen. and easy and quick fix for this problem is to use ccbUpdatePhysicsGeometry( )command on every few seconds. which will update the collision of the object if the position of an object is changed. now for the enemy part ,if your enemy has a behavior move object by physics attached then the collision might still appear even if you change the position or scale of the enemy. an easy fix for this is to push the physics object using a force either by colliding with him or by setting a very small amount of velocity to it. using the command ccbSetPhysicsVelocity(). and nope delete command don't make the node invisible it actually removes/delete the scene node, once a node is deleted you no longer can access it through sscbGetSceneNodeFromName() command it will always return that the object not defined or not found error. hope this will help. *holy*[/quote]
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