Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Rigidbody2D in Unity3D

    • 0
    • 1
    • 1
    • 1
    • 0
    • 0
    • 0
    • 0
    • 484
    Comment on it

    Unity built in physics engine provide components that handle physical simulation. Rigidbody2D is one of the main component among the unity physics engine that allow sprite to be moved in a physically convincing way by applying forces from the scripting API. This means that the sprite will be affected by gravity and can be controlled from scripts using forces.

    By adding the appropriate collider component, the sprite will also respond to collisions with other sprites.

    In order to manually add Rigidbody2d on object go to:-


    Prefab->Add Component->Physics2d->Rigidbody2d


    Once Rigidbody2d is implemented, it looks like

    Once Rigidbody2D component is added, feel free to make changes on different properties like Mass, Linear Drag, Angular Drag etc. of the Rigidbody2D as per requirement.

    Thanks!

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: