• 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
  • Home /
  • Help Room /
avatar image
0
Question by rish209 · Jul 25, 2016 at 11:20 PM · physics3dcubesrealistic

Realistic Physics

In the project I'm working on, I can pick up and manipulate cubes using HTC Vive controllers. When a trigger on the controller is released, the cube's rigidbody's velocity and angular velocity are set equal to those of the controller.

My current problem is making the physics of the project realistic. I want the cube to behave similar to an object in real life when thrown. Instead, it might go far further than expected or arc in a strange manner.

The cube's scale is 0.1 on each side. Gravity is (0, -9.80665, 0), Time.timeScale is set to 1, and other values are set to the default values.

Presumably the desired effect can be created by manipulating the cube's mass, drag, and angular drag, but I am unsure of how to go about this. Messing with these values has changed how physics affects a thrown cube, but I have been unable to create anything resembling reality.

Thanks for taking the time to help.

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Psyco92 · Jul 30, 2016 at 12:42 PM 0
Share

$$anonymous$$ass will affect the inertia of the object so, I suggest looking at mass and trying to approximate real world values, but nothing too large or small. See Unity's docs on rigidbodies.

Scripting your own movement can be done, there are multiple trajectory/flight path equation sources. I believe the wiki elaborates on a throwing example actually. I use these for turret aimers but it can be adapted.

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

How to move whilst airborne (using standard third person character script)? 0 Answers

What are these weird lines on objects? 0 Answers

Throwing an object whilst moving 1 Answer

Pushing/pulling a 3D object using physics 0 Answers

Hold the jump button to jump higher with CharacterController 1 Answer

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges