Jump to content

Golf Project


StrackaLine
 Share

Recommended Posts

:)

Well, since ya'll are going sneaking-around in the back-allies... I might as well release my "CannonJS Driving Range Prototype" v.0.0.1a  :D

https://www.babylonjs-playground.com/#1RKZXB#98

Oh goodness.  Cannon doesn't have "motorEnabledJoints" or limitMotors.  It uses some other strange thing.  So, line 130... classic applyImpulse on the 'club'.

The club is "hanging"... FROM 'ibox'... by a hingeJoint.  (I've been experimenting with physics mesh hung by joint from physics mesh.  I recently needed it for another thread)

So... yeah... early attempts at a "club swing"... all physics.  Good lookin physics-active heightMap... over-layed with a wireframe clone... boundingbox true.

It's ALMOST interesting... but... not quite.  Anyway, if you guys are going adventuring, then you should put this playground demo into your pocket and take it along.  :)

Party on.  Stop touching yourselves.  ;)

Link to comment
Share on other sites

Hmmm, I thought I just did.  :)  I got a few hours into that thing. 

But no, I can't really "dedicate" to anyone or anything.... but thanks.  Also, I'm anti-cap... so... I dislike business (if that's where you are headed).

But I'll try to help answer BJS questions, FOR SURE!  I'll be right here, annoying the hell out of everyone... with my ridonkulously-long posts.  :)

Ya got time to ease-into this project... do some fun learning... no "dead"- lines, right?  You're not under any monetary extortion/terrorism, are ya?  (ahem)  :)

(Wingnut destroys some fear-inducing mailbox bills... with his chainsaw)  :)   Price-tagging (blockading) survival goods?  Pffft.  Gotta go. 

Link to comment
Share on other sites

:)  That CannonJS physics-active ball is definitely doing some rolling.  :D

In fact, it will keep rolling and rolling and rolling... forever... unless you use Raanan's "Leather Workboot" braking system.  (Constantly scale ball.linearVelocity * .98 until it's 0,0,0)  (artificial friction/wind-resistance)

FUN!!!  Raanan's workboot... scrub it against ANY physics-active sphere... it will eventually stop.  :)

Link to comment
Share on other sites

From my understanding of what he wants to really do, a physics plugin is not going to be applicable due to the inherent randomness of the simulations.  Instead I am going to use his datasets and an algorithm with approximations of real world variables to control the outcome.  That way also every step is calculated well before its needed and can be referenced  at any point for animations/graphics.

Ive been waiting for something cool like this to come up and kinda nerd gargasmed  when I saw that datasets he has.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...