- Home /
All Physics Pool Stroke Mechanics - How to Build
I need to learn how to Slide an object along its z axis while tied to a stationary pivot point... thats really it essentially
The end goal is a Pool / Billiard simulator driven by a true to life mechanical model of a Pool Player.
Input into the sim will need to accurately reflect the pendulum motion of the forearm to include side deviations as well as the forward and backward swing.

Im having trouble wrapping my head around getting the cue to slide along the z axis while maintaining a stationary attach/pivot point emulating the bridge hand that holds the cue.
Im sure theres an easy way, so Im asking for advice with the ways to set this up.
If possible I would like to set this up in a way that is dynamic enough to be easily configured to match a layers physical stroke / setup characteristics, such as grip position on the back of the cue, bridge hand placement as well as how high they hold the cue in their bridge (for adding spin to the ball etc).
I have tried a number of things but I dont think i have the knowledge yet to build this the right way or the Best way, etc
Thanks for your help!
Paul
$$anonymous$$y feeling is that the physics system, using joints, springs ... won't work for something this complex. I mean, sure you could on the fly put a characterJoint at the hand/stick connection. But then the stick/bridge would be another charJoint w/unconstrained motion (not sure how to make that) on 1 local axis? Ugg. Or make the bridge just have low friction forward and high friction sideways?
I don't think the physics system is quite up to that realism. The alternative is to just use math. That always works, as long as you know how to write it.
Thanks Owen for your reply! I do truly respect your experience and your opinion and usually i would run with it. But whats telling me it might work is an earlier version (data lost) I made of this some time ago. I built the model as a stick man in the proper stance and poroportions etc, anchored the elbow and let the forearm swing like a perpetual motion pendullum. for the bridge I used 4 spheres atached to eachother (creating a diamond shaped hole in the middle, disabled the mesh renderer an placed that where the cue would go through the fingers of the bridge hand.
SO for this one I was looking for a more pure mechanic such as nesting a sliding oject as a child to an object thats anchoered to the table... etc sort of like the individual movements of the rings in a gyro..
But one of the driving factors for going hollistic with this is that I will be using it to evaluate an correct a real pool playerz stroke, etc. So the elements involed as well as the physics need to be a close to the player model etc.
With that in $$anonymous$$d Ill be making this somewhat configurable to adjust to the individual's physical traits like how high he holds the cue stick with the bridge hand when adding draw or where her hand holds the back of the cue. Those kinds of things. This will allow me to eval the cues true angle at the point of impact.
I did make a psuedo bridge made from a number of cylinders for the finger segments etc.
UA is good for single questions about using specific Unity components. Seems you like want a more wide-ranging discussion, and maybe more about the physics of using a pool cue than about Unity. $$anonymous$$ight be better for the forums.
Actually I just want to learn how to Slide and object along its z axis while tied to a stationary pivot point... thats really it essentially
Answer by PaulzCreative · Jun 29, 2015 at 06:07 PM
Solution: A
A Configurable Joint with all contraints locked down except for the Z Movement.
The trick to get the single pivot was to attach the secondary anchor to a 'kinetic only' object AND make sure the anchor gizmos were positioned in the desired locations:
Primary and secondary gizmos placed at the point I wanted the bridge hand to be.
Your answer