If you have two types of images which you'd like to bounce off of one another, one which you do not want to be affected by gravity, and another which you do, is there a way to accomplish this with Corona?
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
setGravity 0 on specific objects?
make one image static or kinematic and bounce another on it
or apply linear impulse to one image and then bounce
Thanks. I intend for them all to be dynamic, just one type not affected by gravity.
Have you tried creating the non-gravity objects as sensors without density?
No I haven't. Will try
You could apply a force directly opposite to gravity to certain objects per frame, that might work...
Or put invisible platforms underneath those objects.
None of those proposed solutions were a perfect fit, but I was able to negate the effect of gravity by using linearDamping. Thanks for the ideas
views:1747 update:2011/9/30 9:15:39
热门文章
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
相关文章
native.newVideo problem after end of video is reached
Collision position
Movieclips do not drag when rotated for orientation
Crash on Android devices
Hunters' Moon (iPad)
question about: angry bird catapult simple pool example
New product published : Doodle Elastic
tableRuntimeLocalEventDispatcher
Artist - Illustrator - Designer for hire.
Dynamic content scaling - dynamic text fields
Collision position
Movieclips do not drag when rotated for orientation
Crash on Android devices
Hunters' Moon (iPad)
question about: angry bird catapult simple pool example
New product published : Doodle Elastic
tableRuntimeLocalEventDispatcher
Artist - Illustrator - Designer for hire.
Dynamic content scaling - dynamic text fields
corona forums © 2003-2011