Hi
Im trying to make a drone
this is my first time using hingeConstraints; so I dont know if Im not meant to use them on physic objects or if Ive set something up wrong
the drone flies with vectorforces
the entire model is massless including the propellers; the physics is handled by an invisible part inside the drone
Im trying to use hingeconstrains to make the propellers spin
one drone uses a motor6d from the DroneArm to the Propeller for all arms while the other one uses two attachments and a hingeconstaint
The Motor6d works and flies fine, while the hingeconstraint is being pushed down into the ground
I dont know if this is a issue with how I’ve set it up or if its a general issue with hingeconstaint
I thought the physics wouldnt get affected as all the parts are massless
I appreciate any help with this, thanks
Why not manually spin the propellers via script
2 Likes
I wanted to use the hingeconstraint because it has angularVelocity and makes a propeller spin effect
You can do it better with a script
1 Like
Okay , Ill try doing that if there’s no fix to this
I don’t think HingeConstraint is the best for this, if you don’t want to use a script then you can replace it with an AngularVelocity
2 Likes
Okay thanks
what Constraint would I need here with the angularVelocity? without a constraint the propeller falls off, but with a motor6d the propeller cant move
Weld the propeller to the drone
1 Like
(not using leg1Att)
the weld keeps it in place, unless im doing something wrong
Use a WeldConstraint not a Weld
same Result, have I set it up wrong?
You put the AngularVelocity inside the leg and not the propeller was that on purpose?
1 Like
I meant to put it under the propeller model, I moved it to the propeller part for now. does the parent affect anything?
No it shouldnt, but can you send me the place file
1 Like
I can send the drone model, not the place, sorry
tbh I dont know how to fix that, I would just use a script. For some reason the propeller spin influenced the entire model and made everything spin
1 Like
Okay, no worries, thank you for trying
I’ll script it if there’s no fix to this