Hello every one!
In this tutorial I will show you how to create a collision using Reactor, this technique is really handy which is why I like to use it most of the time in my projects. To do this tutorial you should know how to use reactor with its properties I mean intermediate knowledge. I have provided a simple scene for you to use here
with a few boxes, walls and the cone which is representing the lamp light it will act as collision in the scene, so you can say that we have a warehouse with collision on it.
Ok, lets get started. When you download the scene open it and we are ready to go.
1 - When you scene is open, if you are using my provided scene then your scene should look similar to mine below
2 - Now its time to assign mass values and also Proxy Settings for our objects in the scene. Ok to do this, first of all select the box called Hit Box in the scene and then goto the Reactor panel, from there chose Open Property Editor. When the window appears give the mass a value of 5 and then hit the radio button called Proxy Convex Hull, then hit the button called None in the front of Proxy and then chose the hit Box which you have selected in the first, then check mark the Display Proxy and then click on the None button. Then chose the box out side the walls called Display as the image indicating below.
3 - When you have selected the first box, its time to assign a mass value and proxy settings for the other boxes in the scene. Ok, select one of the box and then go to the Reactor panel click on Open Property Editor. From the window do the same as you did before in the image above, but here you have to change one thing. For all the boxes, just check mark Inactive, then do the same as the picture illustrating below shows.
4 - Now select the second box and then do as you did before using the same settings for all the boxes which are near to the lamp gathered as in the picture showing below.
5 - When you have done all of the settings, as the images above shows for all the boxes correctly, now you need to add a Reactor plane for the up, down, left, and right, so when the boxes collide with the walls they stay in side the warehouse, to create the Reactor plane go to the Reactor panel as the image below shows.
next page >