Is it possible to create floating objects when there is natural gravity. Generally all bodies are pulled towards ground. Even less dense objects fall to ground. Why they don't float? Any solutions possible?
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Floating objects
You could set the floating objects linearVelocity perhaps?
But it would be required for me to apply it again and again. Isn't there a way that lighter objects float as in real life? Is the physics engine missing that feature?
Hey.
2 things.
firstly, have you tried giving the object a negative density?
secondly, could you maybe use a kinematic, rather than dynamic physics body?
Thanks for your response. Negative density had no effect and if the body is kinematic, that body is unaffected when something falls. Its just staying like an static object. Any other ideas?
views:1577 update:2011/10/4 8:06:35
热门文章
GameCenter LeaderBoards and Achievements Enabled Through OpenFeint
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
send message and call to a person
Forum: Report Spam + PM
[INSTALL_PARSE_FAILED_NO_CERTIFICATES]
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
Too many (200) local variables
Corona SVG Level Builder released. Drag and drop physics level editor with Inkscape and SVG.
Small bug in Collectible Items example
Pivot Joints and apparent elasticity
Can't make removeSelf() delayed
corona forums © 2003-2011