How do I make rectangles hittestable from all sides.
Currently I can only get the top side to bounce off, but I want to be able to bounce from 4 sides.
Label: corona android iphone ipad building error inmobi problem display screen View image tableView failed object physics touch button game lua config event listener |
Object hittesting
glenn
want to send me some code to see what you are doing?
c.
So I figured out how to detect collision from 4 sides on a rectangle.
But if I rotate the rectangle to say 45 degrees, the bounds of the object stay the same and only the visible parts of the rectangle rotate. Do I have to write a algorithm to detect that kind of collision, or is there an easier way?
Hi,
Is there any sample, or collision module available for handling sprites ?
Could you possibly post your example Glenn in the samples topic of the forum ?
Cheers,
Freshworks
views:1464 update:2011/10/5 21:23:48
热门文章
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
相关文章
Removing objects from a table
Default Orientation, iPod & Android
"INSTALL_FAILED_MISSING_SHARED_LIBRARY
Fonts are squished
a few iPhone SDK questions....
Change Radius of ball on the fly
Auto create all needed icon sizes for universal builds
Need the ability to symbolize crash reports using dsym files
displayGroup gets insane X value 2147483648 for no reason!
Setting "distance" joint max lenght/ strengh
Default Orientation, iPod & Android
"INSTALL_FAILED_MISSING_SHARED_LIBRARY
Fonts are squished
a few iPhone SDK questions....
Change Radius of ball on the fly
Auto create all needed icon sizes for universal builds
Need the ability to symbolize crash reports using dsym files
displayGroup gets insane X value 2147483648 for no reason!
Setting "distance" joint max lenght/ strengh
corona forums © 2003-2011