SketchyPhysics + SketchUp API = fun
-
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!!
Advertisement