atsakir
17-03-2006 09:10:35
Here's the problem:
I have a boat moving inside a river and I have a pair of "walls" along the banks of the river to limit the area of motion inside the "water" area. The "walls" have a TreeCollision body and the boat has a convex hull. I apply forces to the boat to make it move and rotate it manually (no torque). 99% of collisions work ok but if I have the boat facing the wall and fiddle a bit with the rotation while applying force forward (pushing the boat against the wall) I can get it to pierce the wall.
Is there a way I can make my wall "Super rigid" so it doesn't get pierced no matter how much the force? I have tried with different collision shapes for the boat and it happens with any shape. I have thought about assigning materials and friction but that would also affect "sliding" against the wall won't it?
here's a screenshot to better display the issue

Also, another thing: I have billboarded grass inside the water on which I will assign bounding cylinders for collision. Is setting material callbacks and friction enough to make the billboards slow down the boat when it passes through them?
I have a boat moving inside a river and I have a pair of "walls" along the banks of the river to limit the area of motion inside the "water" area. The "walls" have a TreeCollision body and the boat has a convex hull. I apply forces to the boat to make it move and rotate it manually (no torque). 99% of collisions work ok but if I have the boat facing the wall and fiddle a bit with the rotation while applying force forward (pushing the boat against the wall) I can get it to pierce the wall.
Is there a way I can make my wall "Super rigid" so it doesn't get pierced no matter how much the force? I have tried with different collision shapes for the boat and it happens with any shape. I have thought about assigning materials and friction but that would also affect "sliding" against the wall won't it?
here's a screenshot to better display the issue
Also, another thing: I have billboarded grass inside the water on which I will assign bounding cylinders for collision. Is setting material callbacks and friction enough to make the billboards slow down the boat when it passes through them?