QuickBallMaths

Behavior to extend ball physics settings. Use custom settings or one of 19 included ball presets. 

Keep in mind that the perceived ball physics are not only dependent on the settings of the ball itself but also the objects it collides with.

(3D models not included)

How to use

Enable the collision on the ball component and set it to dynamic sphere. Add this behavior to the component. Select a preset in the sidebar and optionally override certain settings or use fully custom settings. 

Included Presets

  • Soccer
  • Basketball
  • Tennis
  • Baseball
  • Volleyball
  • Golf
  • Ping Pong
  • Bowling
  • Rugby
  • Softball
  • Cricket
  • Billiard
  • Hockey
  • Handball
  • American Football
  • Lacrosse
  • Waterpolo
  • Beach Ball
  • Flummi

Avatar Touch Impulse

Adds an impulse in the walking direction of an avatar after it collided with the ball. See question marks next to the parameters for more info.

Remix

https://v2.oncyber.io/quick-ball-maths

Notes

This component can be used in an oncyber world and relies on the currently integrated versions of three.js and @oo/scripting. Changes in these packages might require updates to this component.

Please comment below if you have any feature requests, found a bug or need help when using the component.

Changelog

  • Aug 19, 2024 - v1.0.0 - Initial release
Updated 16 days ago
Published 25 days ago
StatusReleased
PlatformsHTML5
Authorwavedashstudio
Tagsbehavior, oncyber

Leave a comment

Log in with itch.io to leave a comment.