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:1572 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
相关文章
Candy Toy Phone
Is is possible to dial up/down the processing need of Particle Candy?
Changing images during runtime
No audio on VIZIO Vtab
Feature request - Control surfaces
Size of default image when using letterbox
full multitasking support
sprite:prepare() is expected to move to the first frame of the named sequence. This doesn't happen though.
Game center support
Help please! Codesign failed (again)
Is is possible to dial up/down the processing need of Particle Candy?
Changing images during runtime
No audio on VIZIO Vtab
Feature request - Control surfaces
Size of default image when using letterbox
full multitasking support
sprite:prepare() is expected to move to the first frame of the named sequence. This doesn't happen though.
Game center support
Help please! Codesign failed (again)
corona forums © 2003-2011