Some things to push around
by Jemand den es nicht gibt · in Torque Game Builder · 05/16/2006 (12:13 pm) · 2 replies
S'mee again. ;)
I've been meddling with this for a while and told that it is possible to have things to push around, like crates, that you can jump upon too. Can anybody tell me how to set this up? I'm totally lost there... :)
The setup I tried that got closest to it was this:
- player sends and receives collision, CLAMP callback
- obstacles receive collisions, CLAMP callback
- crate sends and receives, again.. CLAMPs
The obstacles block the player just fine and I can push that crate around with no problem aswell. But as soon as I push the cate against the obstacle it "stacks"... the obstacle gets pushed away aswell... I tried all kind of combinations... either this is truely not possible or I did some silly mistake. :)
Is there anybody who can tell me how to set it up correctly? :)
I've been meddling with this for a while and told that it is possible to have things to push around, like crates, that you can jump upon too. Can anybody tell me how to set this up? I'm totally lost there... :)
The setup I tried that got closest to it was this:
- player sends and receives collision, CLAMP callback
- obstacles receive collisions, CLAMP callback
- crate sends and receives, again.. CLAMPs
The obstacles block the player just fine and I can push that crate around with no problem aswell. But as soon as I push the cate against the obstacle it "stacks"... the obstacle gets pushed away aswell... I tried all kind of combinations... either this is truely not possible or I did some silly mistake. :)
Is there anybody who can tell me how to set it up correctly? :)
#2
My obstacles work just fine, I just have some more problems with crates but I will post a longer post with screenshots and stuff later on. :)
05/19/2006 (10:48 pm)
I already resolved that problem for the most part and I was wrong in my previous post, yeah. ;)My obstacles work just fine, I just have some more problems with crates but I will post a longer post with screenshots and stuff later on. :)
Torque Owner Joss "Extra" G.