유니티 힌지 조인트 - yuniti hinji jointeu

  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

  • Home /

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

 object.GetComponent().angularVelocity

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 Answers

If 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 Question

  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You 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

  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You 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

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese

  • Ask a question

  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

All Questions

  • Unanswered Questions

유니티 힌지 조인트 - yuniti hinji jointeu

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 Problem

Sep 18, '22 in Help Room

1 Reply

0 Votes

westlogan95 published

hinge joint collision change direction

Mar 12, '22 in Help Room

0 Replies

0 Votes

NatePrograming published

How do i make a script that drags a hinge joint object

Feb 4, '22 hinge joint

0 Replies

0 Votes

LeeEpp answered

Hinge joint limits not working properly

Dec 2, '21 in Help Room

1 Reply

0 Votes

AbelSierra edited

unity 4.6 hinge joint broken in asset bundles

Oct 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.17f1

Jun 16, '20 in Help Room

0 Replies

0 Votes

unity_Vpi53N_fb99F6g commented

Rotate door around pivot with physics

Apr 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 cart

Apr 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 distance

May 30, '18 distance·joint·hinge joint

0 Replies

0 Votes

OsquakE_ asked

How to make a puch to open door 2D

May 11, '18 in Help Room

0 Replies

0 Votes

zdolezal edited

Hinge Joint connected to moving object - not aligned & straighten

Mar 20, '18 rigidbody·hingejoint·hinge joint

2 Replies

1 Votes

StillUnderlevel answered

How to edit Hinge Joint Target Position in a script? Closed

Feb 11, '18 c#·hinge joint

1 Reply

1 Votes

Tronyc edited

[FIXED] Changing the Target Velocity of a Hinge Joint Motor in script

Dec 27, '17 in Help Room

1 Reply

1 Votes

ElDivinCodino asked

Same object, different scale on different projects both with default project settings

Jun 21, '17 in Help Room

0 Replies

0 Votes

MultivariousDev01 published

Hinge joint connected body scripting issues

Nov 29, '16 hingejoint·hinge joint·hinge·connectedbody

1 Reply

0 Votes

silentslack commented

HingeJoint.angle with connected body

Nov 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 joint

Aug 5, '16 physics·joint·hinge joint·hinge

0 Replies

0 Votes

Jass777 asked

hinge joint and spring not reacting to input

Jun 26, '16 in Help Room

0 Replies

0 Votes

Flash 365 commented

Pinball flippers, phantom flippers help! Wiki

Mar 25, '16 in Help Room

0 Replies

0 Votes

FuZZbaLL_b asked

Unity 3D : Issue with addForce and Hinge Joint

Mar 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

  • 1
  • 2
  • 3

Followers

Welcome to Unity Answers

If 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.

physics 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