Hi there, the BlitzMax wrapper for the Chipmunk physics is pretty damn awesome and I'm liking it a lot, I have one issue though.
In my game I have type called Titem which contains a field for the items' body & shape. However, I will need for the shape or body to refer back to Titem so it can update it when they collide with other objects.
For example, when two objects collide they will need to take damage, the 'damage' field being in Titem.
How can I set this up? Am I missing something fundamental?
In my game I have type called Titem which contains a field for the items' body & shape. However, I will need for the shape or body to refer back to Titem so it can update it when they collide with other objects.
For example, when two objects collide they will need to take damage, the 'damage' field being in Titem.
How can I set this up? Am I missing something fundamental?