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:1463 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
相关文章
whats wrong with this line of code
Ability to detect available wireless networks
Android Build: device is not supported?
Decimal Watch for Business approved by App Store
Corona command line integration
Trying to create a soccer ball juggle game
Free Marketing Opportunity: AppMadness.net App Tournament
Color Confusion just released on iOS
animation question
OOP Pause & Resume
Ability to detect available wireless networks
Android Build: device is not supported?
Decimal Watch for Business approved by App Store
Corona command line integration
Trying to create a soccer ball juggle game
Free Marketing Opportunity: AppMadness.net App Tournament
Color Confusion just released on iOS
animation question
OOP Pause & Resume
corona forums © 2003-2011