1. #1
    Blastergamer's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Rocking Trials Country
    Posts
    2,539

    Sphere speed limit, and counting?_STILL NEED HELP

    I'm making a sphere style skill game. Everything is fine with the sphere,
    but is just annoying, that the sphere always gets faster and faster.
    1. Is it possible to set the limit the speed for the sphere?
    2. What datasources and filters etc. do I need to place and link to display the speed from the chromeball?
    3. Is it possible when you hit the X or any button, that the chromeball brakes and the speed of the ball goes to zero, but not reversing.
    Answers will be helpful!!!

    P.S. Does anyone has a guide (like google docs) how to display the current speed?
    Share this post

  2. #2

    Re: Sphere speed limit, and counting?

    yes all is posible

    you can limit the speed by setting force to 0 when a certain speed is reached

    there are some object info datascources that give speed info but you might need some math do get the right speeds because i think the speed is on axis

    you want it to stop instantly?
    you could use a ope for that and let it be activated when you push a button
    so button->ope(maybe local even works)->sphere
    Share this post

  3. #3

    Re: Sphere speed limit, and counting?

    Originally Posted by sparkierjonesz
    yes all is posible

    you can limit the speed by setting force to 0 when a certain speed is reached

    i believe that would completely 'turn off' power to the ball and act as if you were to take your foot off of the gas peddle in a car, it will just coast. IN MY OPINION you would do it by setting the force to a number equaling your 'top speed' when desired top speed is reached (this number is determined on many factors so its up to you to find your 'top speed')
    Share this post

  4. #4

    Re: Sphere speed limit, and counting?

    You might try going into the 'advanced physics' menu of the sphere and adjusting the friction, angular/linear dampening, and mass values until the sphere behaves as you would like. Generally speaking, the higher the values the lower the top-end speed and the more quickly the object slows when there is no input. Friction is related to object-to-object contact, dampening behaves sort of like friction for the air.
    Share this post

  5. #5
    Blastergamer's Avatar Senior Member
    Join Date
    Mar 2014
    Location
    Rocking Trials Country
    Posts
    2,539

    Re: Sphere speed limit, and counting?

    Originally Posted by grimm
    You might try going into the 'advanced physics' menu of the sphere and adjusting the friction, angular/linear dampening, and mass values until the sphere behaves as you would like. Generally speaking, the higher the values the lower the top-end speed and the more quickly the object slows when there is no input. Friction is related to object-to-object contact, dampening behaves sort of like friction for the air.
    thanks grimm, this is really helpful!
    Share this post