Nirtec Studio Forum

General Category => Machines Simulator => Topic started by: GipsyD on May 21, 2023, 10:09:15 AM

Title: Adding a collision to a custom machine?
Post by: GipsyD on May 21, 2023, 10:09:15 AM
First post here, so please be gentle.

I'm building a concrete brick making machine in MS3, and need some assistance adding a collision to two components within said machine.

This machine uses a mould that is filled with concrete at the base, as well as another component fitted with 'stamps' that sits directly atop the mould, like the one shown in the picture linked here (https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT1tDjD9GpQBnhD4UppiOIYcECC6SmLL-E5SA&usqp=CAU).

During the final steps of the production cycle, The component with the stamps 'falls' onto the mould filled with concrete and begins a vibration process, thus compacting the concrete within. Once this is done, the mould lifts the component with the stamps upwards, pushing the product out onto wooden boards. A video of this process can be found here -
.

I want to replicate this action in MS3 with the machine I am making by adding collisions to the two components above. How would I go about doing this? My components are almost identical to the ones in the video.

Any help would be greatly appreciated!
Title: Re: Adding a collision to a custom machine?
Post by: EasyPLC_Master on May 21, 2023, 07:58:55 PM
You can do it in many ways, for example use a 3D Model Component to load your custom .obj models for your machine, then add Static Components and use Physical Scale to set the collision shape for the models, adding more Static Components to add more complex collisions shapes, set the Visible property to false to hide the default blue box.

Or you can directly use Static Components, adding the model (using the model scale and model position to fit the model in the desired way) and changing the Physical Scale to the desired one.
Title: Re: Adding a collision to a custom machine?
Post by: GipsyD on May 22, 2023, 09:51:28 AM
Thanks so much for the answer! Really do appreciate it. Honestly thought I wasn't going to get one.

I will definitely try this out, and will revert as soon as I am able to.

Off topic, are multi-question threads against forum rules? I have a few more questions I would like to ask here.
Title: Re: Adding a collision to a custom machine?
Post by: EasyPLC_Master on May 22, 2023, 12:20:46 PM
it is better to make separate threads if they are different questions