Yue Posted November 15, 2017 Share Posted November 15, 2017 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? 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. Quote Link to comment Share on other sites More sharing options...
gamecreator Posted November 15, 2017 Share Posted November 15, 2017 https://www.leadwerks.com/community/topic/15469-create-custom-collision-types/?tab=comments#comment-103607 1 Quote Link to comment Share on other sites More sharing options...
Yue Posted November 15, 2017 Author Share Posted November 15, 2017 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. Quote Link to comment Share on other sites More sharing options...
Yue Posted November 15, 2017 Author Share Posted November 15, 2017 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? Quote Link to comment Share on other sites More sharing options...
Yue Posted November 15, 2017 Author Share Posted November 15, 2017 No collide. Quote Link to comment Share on other sites More sharing options...
Josh Posted November 16, 2017 Share Posted November 16, 2017 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. 1 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Yue Posted November 16, 2017 Author Share Posted November 16, 2017 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. Quote Link to comment Share on other sites More sharing options...
Josh Posted November 16, 2017 Share Posted November 16, 2017 The problem you are describing should not be happening at all. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Yue Posted November 16, 2017 Author Share Posted November 16, 2017 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. Quote Link to comment Share on other sites More sharing options...
Josh Posted November 17, 2017 Share Posted November 17, 2017 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. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Yue Posted November 17, 2017 Author Share Posted November 17, 2017 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. Quote Link to comment Share on other sites More sharing options...
Josh Posted November 17, 2017 Share Posted November 17, 2017 You should use a motorized slider joint to connect the shovel and the chassis. Don't use the parenting system. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. 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.