Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

Billiard Template

Discussion in 'Assets and Asset Store' started by Reechy, Oct 19, 2022.

  1. Reechy

    Reechy

    Joined:
    May 10, 2015
    Posts:
    336


    Latest Version 1.0 - Released

    Billiard Template
    Links: [Asset Store]
    [Discord]


    About:
    Billiard Game Template for Unity is an event-based billiard physics engine in which differential equations of motion are solved exactly, thus creating a simulation that conforms to reality. This method is much faster than conventional solvers used in physics engines as it does not have an explicit simulation step but rather a search is performed for the next event(state change) when the differential equation to be solved is updated. Differential equations are solved analytically so precision only depends on the model!

    Features:
    • Event-Based Physics Engine
    • Finite State Machine Gameplay
    • Fast And Stable Solvers
    • 6-DOF Ball Movement
    • Impulse-Based Collision Response With Friction
    • Double precision
    • Threaded solver using Jobs and Burst Compilation
    • 8Pool Example
    • And more!
    Todo:
    • Network
    • VR Support
    • Android Support
    Support:
     
    Last edited: Nov 9, 2022
  2. Reechy

    Reechy

    Joined:
    May 10, 2015
    Posts:
    336
    Initial version 1.0 is now available on the asset store!

    If you have any questions I'll be happy to answer :)
     
  3. povit

    povit

    Joined:
    Nov 7, 2022
    Posts:
    1
    The board returns to the starting state after the stroke,I don't know where it was configured
     
  4. Reechy

    Reechy

    Joined:
    May 10, 2015
    Posts:
    336
    Hello @povit,

    If the initial strike does not satisfy common eight pool ball rules, then the board is reset to previous(initial) state.
    You can change this behavior in BilliardTemplate/Code/Billiard/EightPool/EightPoolBilliard.cs

    I am working on making billiard template simpler to use and edit. Will post results soon.
     
  5. Reechy

    Reechy

    Joined:
    May 10, 2015
    Posts:
    336
    I've started working on the new version of the billiard template. Here is how it looks so far:

    Unity_ppsTP6UME1.jpg

    What do you think? :)