Search found 4 matches
- Tue Mar 29, 2011 5:30 pm
- Forum: Support and Development
- Topic: Physics shapes issue
- Replies: 8
- Views: 6501
Re: Physics shapes issue
Wow, thats a brilliant solution. I'll do that instead. Thanks that should simplify my code a lot as well.
- Tue Mar 29, 2011 2:15 pm
- Forum: Support and Development
- Topic: Physics shapes issue
- Replies: 8
- Views: 6501
Re: Physics shapes issue
Thanks I went back and revisited the problem and I wasn't emptying the table every time I was deleting a shape. I appreciate the help Ivan and Blackbullet.
- Tue Mar 29, 2011 5:11 am
- Forum: Support and Development
- Topic: Physics shapes issue
- Replies: 8
- Views: 6501
Re: Physics shapes issue
I tried the setMask and the result is the same. I wanted to attach a sensor to a body that already has a non-sensor shape. The sensor would only appear when a key is pressed and disappear when released (created and destroyed). Basically it is simulating a punch or melee attack. I can't seem to get d...
- Tue Mar 29, 2011 4:26 am
- Forum: Support and Development
- Topic: Physics shapes issue
- Replies: 8
- Views: 6501
Physics shapes issue
I am trying to add more than one physics shapes to a body and remove just one of them. The problem is I can't seem to get the work around of setting the mask to all categories and removing one shape to work. If I try this for example: world:update(dt) for _, shape in ipairs(deleteMe) do --deleteMe i...