Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • 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 djfluffwug · Apr 02, 2012 at 05:13 AM · movementphysicsballacceleration

Ball Rolling System

As a first project I decided I would make a 'Roll A Ball' game similar to Ballance and Switchball. I have started working on the movement system for the ball but I have run into a few problems.

Firstly, I decided I would use a rigidbody to make the movement calculation alot easier for me but I cannot change the acceleration of the rigidbody sphere (Ball). I realise this is due to the rigidbody using realistic physics calculations. I have tried messing around with the drag settings but this makes the ball also fall slowly which is not what I want. I am unsure of how I can make a system where I can manually put in acceleration and max speed values.

Any suggestions would be greatly appreciated :)

Thanks, - djfluffwug

Comment
Add comment · Show 2
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 syclamoth · Apr 02, 2012 at 07:52 AM 0
Share

Well, for starters, you could use

 rigidbody.AddForce(vector, Force$$anonymous$$ode.Acceleration);

if you want to add acceleration manually.

Otherwise, try modifying Physics.gravity

avatar image NeedNap · Feb 13, 2013 at 08:28 AM 0
Share

Thank you syclamoth, I'try.

This is a difficult task to do because the physic engine has so many configuration params :(.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by woodygoody · Oct 11, 2012 at 01:48 PM

Roll The Ball

Comment
Add comment · Show 1 · 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 NeedNap · Feb 13, 2013 at 09:56 AM 0
Share

Hi woodygoody, "Roll The Ball" isn't what I need :(.

I'm developing a ball game for mobile devices where the user can "swipe" the ball to throw it into the sandy track.

The ball can collide with obstacles in the track and the user can increase the ball's speed using the turbo mode.

The camera must follow the ball (at a certain distance) and should look at to the right direction of the track when the ball stops and the user swipe again to reach the goal. The algorithm that control the camera should be similar to that used in the Frisbee game (https://www.youtube.com/watch?v=h2I5XSXYH$$anonymous$$0) although in my game room has more freedom.

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.

Follow this Question

Answers Answers and Comments

6 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How to Tilt a Spaceship Based on Inertia/Acceleration Force Separate from Facing Direction? 2 Answers

Custom Acceleration 1 Answer

Simple 2D smooth ball movement 1 Answer

The ball is stuck in the beginning position 1 Answer

How to create icy floor? c# 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges