• 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 /
avatar image
0
Question by J3-Gaming · Jul 06, 2011 at 11:08 PM · rigidbodyvelocityaddforcespeedforce

Using rigidbody.AddForce and speeding the object

I have lets say a basket ball and a hoop.

I currently have a nice arc I want the ball to travel along and it makes it into the hoop. Problem is that its too slow - the ball looks like it hovers and takes it sweet time in the air.

I need a solution that would only speed up this object with the same rigidbody force and mass. I tried rigidbody velocity but it seems to have no effect.

Comment
Add comment
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

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by Waz · Jul 06, 2011 at 11:16 PM

Are your scales correct? If your ball is 1 unit in diameter, then the default gravity setting of 9.8 units/s/s will look wrong. Make your ball 0.25 units and it will then look right... because units will then be meters as the 9.8 is intended. You can of course keep measuring everything in basketball diameters and adjust gravity accordingly, but that will eventually get confusing.

If your scales are all right and you simply want the ball to travel faster than it would in the real world, increase gravity and everything will move on faster ballistics.

Gravity is set in the Physics project settings.

Comment
Add comment · Share
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
0

Answer by J3-Gaming · Jul 06, 2011 at 11:25 PM

Turning up the gravity worked (the basketball is only a simple example) Had to re-do the numbers but it does work better now thanks.

Comment
Add comment · Share
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

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Gravitational pull without losing speed 1 Answer

How to get collision force, not relative velocity? 1 Answer

i am not able to increase the speed of ball perodically in pong, in this code the speed of ball decrease while playing so help with this, how to increase speed of ball perodically?, 0 Answers

Add force on camera using AddForce 2 Answers

Change rigidbody's jumping speed 2 Answers

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