Jump to content

Recommended Posts

Posted

My concern is how is it possible to disable the collision of one body with another?

The fact is that I have a vehicle forklift and assigns the shovel as a father chassis, but I need to deactivate the shovel collide with the chassis, if I don't do it if I get too close to the chassis I see strange effects, that make the vehicle turn uncontrollably. 

Any suggestions?

MC.thumb.png.7ac45f80850064ef1b5a49b8ecc8edbf.png

The idea is that the front of the shovel does not collide with the chassis, however, if it collides with other objects such as terrain or obstacles. 
 

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Posted

No, I can't implement it properly, I have the chassis and base of the shovel mechanism. But the vehicle doesn't run out of control.

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Posted

Something tells me it's impossible to create a forklift vehicle in Leadwerks.  I can't attach a separate element to the chassis without having any strange events. 

Any suggestions? 

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Posted

If the lift and the chassis are connected by a joint they will not collide.  Also See the spectator script for a function you can use to discard collisions.

  • Like 1
  • Confused 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted
15 hours ago, Josh said:

If the lift and the chassis are connected by a joint they will not collide.  Also See the spectator script for a function you can use to discard collisions.

I can't understand, the translator doesn't help me much. 

Where can I find an example?

I was thinking composite bodies, but I can't find anything significant. 

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Posted

The problem you are describing should not be happening at all.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

The elevator is related to the chassis of the freight elevator.  SetParent.

In that case it doesn't collide, and if I bring it too close to the chassis, the vehicle starts turning like crazy.

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Posted

Actually, I think the elevator (lift) piece is hitting your wheels.  You need to make sure the wheels are small enough to not get in the way.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted
23 minutes ago, Josh said:

Actually, I think the elevator (lift) piece is hitting your wheels.  You need to make sure the wheels are small enough to not get in the way.

Okay, if that's it, I don't have it so close to the tires on the elevator. However, the elevator does not collide with any target in front of it, so if I put mass 10 in the elevator, it breaks away from the chassis. 
shovel
I'm using self. shovel: SetParent (self. chassis)

In the same way, I don't see the feasibility of raising and lowering the shovel so that for example I can lift a pallet with boxes on top of it.

Kind regards.

Mars.jpg.89ab63a64eebc1f5ada0ab82b66a1f8c.jpg

 

 

Posted

You should use a motorized slider joint to connect the shovel and the chassis.  Don't use the parenting system.

  • Upvote 1

My job is to make tools you love, with the features you want, and performance you can't live without.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...