Jump to content
This site uses cookies! Learn More

This site uses cookies!

armedunity.com uses cookies to improve user experience.

By continuing to use this site, you agree to allow us to store cookies on your computer.

  • 0
Sign in to follow this  
lucian112

Ball force like rocketleague

Question

Hey guys,what can i do to make a ball force like rocketleague in unity? if i hit the ball with speed like to go with max speed,and if i hit without bust on car to go slowli. And ball tu jump like  in rocketleague.. Some ideas? I am beginer.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Add a Rigidbody component to the ball object. This will make it a physics object, so you can add force to the ball whenever a car hits it.

Please login or register to see this code.

Call the PushBall function whenever a car hits the ball.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...