PDA

View Full Version : TBGL sprite collision; I want to tune the box2circle collision a bit



Michael Hartlef
23-07-2009, 13:35
Hi folks,

today I noticed that the box2circle collision is not working in a way I like it. The box side doesn't take collision radius well enough. So I want to think about it more and might make a little change in it's detection. Please raise oyur voice if you count on it a lot and it would brake your project much. The change I want to do is how the box is calculated regarding collision radius.

Cu
Michael

Edit: I attached a new version. If you are brave enough, replace the module :)

Petr Schreiber
23-07-2009, 14:19
No problem for me,

I did not used this kind of collision yet.


Thanks,
Petr

kryton9
24-07-2009, 01:58
Mike any improvement in collision handling is a good thing. Thanks for worrying about breaking, but there is that command you can call in thinBasic that tells you the minimum version required for the application. I think this is a great command to keep users informed of required versions for that app to work as expected. That should cover you in any improvements you make.

Michael Hartlef
31-07-2009, 23:36
Hi folks,

I think I fixed it. Get a new TBGL module from the first post in this topic till a new beta or final is out.

Michael