Show
This question was closed Apr 28, 2021 at 05:18 PM by Razputin for the following reason: Other
0 If you use rigibody.velocity to try and detect if a hinge is not moving the number bounces all over, and sometimes goes to 0,0,0 while in the middle of moving. Is there someway to tell if specifically the hinge is moving? If not I'll just use velocity and set it so it has to be 0,0,0 for a few miliseconds before it's determined that it's "Not Moving" . Thanks!
0 Answer by logicandchaos · Apr 27, 2021 at 02:08 PM The rigidbody, in the inspector you can monitor all the forces being applied and access them through code.
0 Answer by mightWizard · Apr 27, 2021 at 03:12 PM You can use the code
This has the rotational velocities of an abject and you can compare this to vector3.zero to check for no rotation velocity. Welcome to Unity AnswersIf you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information. Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions. Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users. Follow this QuestionRelated Questions
UNITY ACCOUNTYou need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
Navigation
Unity accountYou need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account Language
All Questions
MUG806 commented Why my car with trailer cannot move? (using hinge joint)Oct 18, '22 hingejoint·car physics·hinge joint 0 Replies 0 Votes
MarcoLuzuriaga edited Complex U-Joint ProblemSep 18, '22 in Help Room 1 Reply 0 Votes
westlogan95 published hinge joint collision change directionMar 12, '22 in Help Room 0 Replies 0 Votes
NatePrograming published How do i make a script that drags a hinge joint objectFeb 4, '22 hinge joint 0 Replies 0 Votes
LeeEpp answered Hinge joint limits not working properlyDec 2, '21 in Help Room 1 Reply 0 Votes
AbelSierra edited unity 4.6 hinge joint broken in asset bundlesOct 28, '21 unity 4.6·asset bundles·hinge joint 1 Reply 0 Votes
muttsang asked Joint with limit more than 180?Jul 28, '21 in Help Room 0 Replies 0 Votes
TheoTowers answered Is it possible to only allow one direction of rotation using a hinge joint?Jun 16, '20 rotation·axis·hingejoint·constraints·hinge joint 2 Replies 0 Votes
nt314p commented Hinge Joint Doesn't Move Unity 2018.4.17f1Jun 16, '20 in Help Room 0 Replies 0 Votes
unity_Vpi53N_fb99F6g commented Rotate door around pivot with physicsApr 29, '20 door·pivot·hinge joint 1 Reply 0 Votes
theonerm2 edited How do I make a Hinge joint move slowly?Jun 9, '19 in Help Room 2 Replies 0 Votes
CheckmateVideos edited Wheelchair movement with hinge joint and rotation of controllers?Apr 22, '19 in Help Room 0 Replies 0 Votes
bengosu published I need help with the wheels of a shopping cartApr 14, '19 physics·hinge joint 0 Replies 0 Votes
Snipe76 answered Door Hinge joint glitches out when pushed to a limit?Jan 2, '19 physics·rigidbody·door·hinge joint 1 Reply 0 Votes
Ianp26 commented Make Rigidbody not move away from Hinge Joint under force/ weight.Aug 6, '18 physics·spring·stretching·hinge joint·configurable joint 1 Reply 1 Votes
JVene commented HingeJoint Motor's values not being changed by script (show in debug, but not inspector)Jul 20, '18 joints·hingejoint·hinge joint·motor 1 Reply 0 Votes
Phanou asked Hinge joint and fixed distanceMay 30, '18 distance·joint·hinge joint 0 Replies 0 Votes
OsquakE_ asked How to make a puch to open door 2DMay 11, '18 in Help Room 0 Replies 0 Votes
zdolezal edited Hinge Joint connected to moving object - not aligned & straightenMar 20, '18 rigidbody·hingejoint·hinge joint 2 Replies 1 Votes
StillUnderlevel answered How to edit Hinge Joint Target Position in a script? ClosedFeb 11, '18 c#·hinge joint 1 Reply 1 Votes
Tronyc edited [FIXED] Changing the Target Velocity of a Hinge Joint Motor in scriptDec 27, '17 in Help Room 1 Reply 1 Votes
ElDivinCodino asked Same object, different scale on different projects both with default project settingsJun 21, '17 in Help Room 0 Replies 0 Votes
MultivariousDev01 published Hinge joint connected body scripting issuesNov 29, '16 hingejoint·hinge joint·hinge·connectedbody 1 Reply 0 Votes
silentslack commented HingeJoint.angle with connected bodyNov 2, '16 in Help Room 0 Replies 0 Votes
MOBI5965 published How to apply Hinge Joint on two bodies(cube,sphere) using C# Script???Oct 19, '16 in Help Room 0 Replies 0 Votes
GrEnAdE edited Weird behaviour with hinge jointAug 5, '16 physics·joint·hinge joint·hinge 0 Replies 0 Votes
Jass777 asked hinge joint and spring not reacting to inputJun 26, '16 in Help Room 0 Replies 0 Votes
Flash 365 commented Pinball flippers, phantom flippers help! WikiMar 25, '16 in Help Room 0 Replies 0 Votes
FuZZbaLL_b asked Unity 3D : Issue with addForce and Hinge JointMar 20, '16 in Help Room 0 Replies 0 Votes
bbartel84 asked How to move using translate.transform a hinge joint with motor turned on?Mar 7, '16 rigidbody2d·transform.position·transform.translate·hinge joint·motor 0 Replies 0 Votes
Followers
Welcome to Unity AnswersIf you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information. Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions. Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users. Related Topicsphysics hingejoint
rigidbody door hinge
motor joints joint
rotation 2d c#
collision rope axis
anchor spring javascript
connectedbody constraints
rigidbody2d animation
swinging submesh unity 5 hang |