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:1465 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
相关文章
Como puedo analizar el rendimiento de mi juego?
spawn Flies help
Scrolling a group of icons on part of the screen
Support for Playtomic analytics in Corona SDK
How large is too large for an app?
Spriteloq lib updated, loq_display docs updated
PDF Support
app market strategy for android
How do I provide sound to my slides and images?
Pause/resume audio problem
spawn Flies help
Scrolling a group of icons on part of the screen
Support for Playtomic analytics in Corona SDK
How large is too large for an app?
Spriteloq lib updated, loq_display docs updated
PDF Support
app market strategy for android
How do I provide sound to my slides and images?
Pause/resume audio problem
corona forums © 2003-2011