SketchyPhysics + SketchUp API = fun
-
BMW Z4_0.6.skp
… I've been playing around with mixing up methods from the SketchUp API with SketchyPhysics, and have concluded that it's really fun
The above model was made entirely by me, and is a BMW Z4 which is steered by the WASD keys, and spacebar is boost, with C and V to take out/ put away guns, and up arrow to shoot. Shooting doesn't really matter though; it's not the point 
-
Wow! BTM that is truly amazing. It looks like that BMW commercial. The script is much simpler than I expected.
-
Ooh... that's awesome...
-
try adding this code in the onTick field of the back wheels of one of your vehicles, with a framerate of 3 or 4-ish. Then drive. It's fun

p=$curEvalGroup.bounds.center if frame >= 3 face=Sketchup.active_model.entities.add_face p, @c, @b face.material="white" face.back_material="white" face.edges.each do |e| e.soft="true" e.smooth="true" e.hidden="true" end end @c=p
…do that for one wheel and for the other, this.
p=$curEvalGroup.bounds.center if frame >= 3 face=Sketchup.active_model.entities.add_face p, @b, @c face.material="white" face.back_material="white" face.edges.each do |e| e.soft="true" e.smooth="true" e.hidden="true" end end @b=p

-
-
Lol, sweet. I'm dipping into the API myself, like with the cloth thing... and I agree, it's fun

Btw, the advert is: http://www.youtube.com/watch?v=Lj-LT2IeA9s
-
-
A stupid suggestion... The cars'objects could be locked to make easier to cancel the previous track until automatic reset is available.
-
@sgal said:
A stupid suggestion... The cars'objects could be locked to make easier to cancel the previous track until automatic reset is available.
I don't quite understand.
-
I think he wants it to automatically delete the track after the sim. That's easy enough in the new version, but undoing after the sim will give the same result

-
Thanks Wacov- I forgot that the simulation can be undone.
To •BTM: My poor english sometimes makes my sentences unclear- specially when I'm in hurry. -
Maybe if someone could just figure out how to set an object to spark(create a yellow trans. face) on the contact point when it's hit by something fast, like a bullet. Would be quite an addition to our little FPS models!
-
You might be in for a pleasant surprise

-
Particle effects?
-
More playing, this time similar to sculpting.
… Unfortunately, it doesn't run that fast. -
All I can say is wow.
-
Its like snow. Nice model BTM!
-
Really shows what you can do with the scripting, very nice!!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginAdvertisement