SpiderPig Posted April 1, 2017 Share Posted April 1, 2017 Hi, I have made a large sphere shape which is set up as a trigger and I have attached a collision hook to a cube which I fire from the camera at the sphere. The hook is called upon collision but also seems to be called when the cube is inside the sphere. Even if it has been created in the sphere on start-up. Is there a way to only detect a collision with a face? Not the volume as well? I thought of just removing the hook upon first collision, but I'd like it there for collisions that may happen later. Any ideas? Quote Link to comment Share on other sites More sharing options...
macklebee Posted April 1, 2017 Share Posted April 1, 2017 maybe this will help? http://www.leadwerks.com/werkspace/topic/7992-physics-oncollisionenter/#entry62987 Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
SpiderPig Posted April 1, 2017 Author Share Posted April 1, 2017 Thanks macklebee, Josh's comment at #9 gave me the info I needed. And the script will come in useful too. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.