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:1746 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
相关文章
How to Build for Xcode?
Looking For Artist/Audio Producer for Small Team
Generate random sequence of 4 numbers?
Vaporware: Corona Visual Designer
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
What is the best(fastest, lightest) way to implement audio for Android?
Storyboard events question
Release size, in MB
how can I insert a webPopUp into a group ?
The application does not have a valid signature
Looking For Artist/Audio Producer for Small Team
Generate random sequence of 4 numbers?
Vaporware: Corona Visual Designer
[SOLVED] Director ERROR: Failed to execute new( params ) function on 'screen1'
What is the best(fastest, lightest) way to implement audio for Android?
Storyboard events question
Release size, in MB
how can I insert a webPopUp into a group ?
The application does not have a valid signature
corona forums © 2003-2011