My first physics in asp7

Want to share your Moho work? Post it here.

Moderators: Víctor Paredes, Belgarath, slowtiger

User avatar
GCharb
Posts: 2276
Joined: Mon Oct 10, 2005 2:31 am
Location: Montreal, Quebec, Canada
Contact:

My first physics in asp7

Post by GCharb »

Hello all!

Having fun with ASP 7 here, made my first little scene with the new physics, darn fun stuff and not hard really.

physics.anme

physics.mov

If you scrub the Quicktime file, you see that the balls gradient all face the same way, and as they get in the container they start to rotate.

G
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

Nice GCharb, I been playing with the 3D stuff. If you rem I tried to make a brick wall a few months ago that was 3d with prospective to near zero to the horizon and had imported brick textures.

With AS7 I did it in about 30 seconds. I'm having fun...
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
J. Baker
Posts: 1086
Joined: Wed Mar 23, 2005 7:22 pm
Location: USA
Contact:

Post by J. Baker »

Looks great! AS7 is a lot of fun! :D
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

Last edited by sbtamu on Thu Jun 10, 2010 9:17 pm, edited 1 time in total.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
Víctor Paredes
Site Admin
Posts: 5815
Joined: Wed Jan 26, 2005 12:18 am
Location: Barcelona/Chile
Contact:

Post by Víctor Paredes »

Ok, it's not my very very first test, but close
http://tazatriste.cl/cosas_subidas/3/ph ... eople2.mov
Image Image Image Image Image Image
Moho co-owner

Previously Rigged animation supervisor: My father's dragon, Wolfwalkers & Star Wars Visions "Screecher's Reach"
My personal Youtube Channel
User avatar
J. Baker
Posts: 1086
Joined: Wed Mar 23, 2005 7:22 pm
Location: USA
Contact:

Post by J. Baker »

Nice work guys! I can see some people creating some really crazy stuff with this.
User avatar
GCharb
Posts: 2276
Joined: Mon Oct 10, 2005 2:31 am
Location: Montreal, Quebec, Canada
Contact:

Post by GCharb »

Heheh, those are way cool! :)

G
User avatar
DK
Posts: 2896
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Post by DK »

AS7 Physics test :)

http://www.youtube.com/watch?v=vyWQqU12YxM

Cheers
D.K
User avatar
GCharb
Posts: 2276
Joined: Mon Oct 10, 2005 2:31 am
Location: Montreal, Quebec, Canada
Contact:

Post by GCharb »

ROFL, this is just hilarious! :)

Good work man! :)

G
User avatar
DK
Posts: 2896
Joined: Mon Aug 09, 2004 6:06 am
Location: Australia

Post by DK »

Thanks. It's a brilliant feature. Well worth the upgrade price indeed!!!

Cheers
D.K
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

DK wrote:Thanks. It's a brilliant feature. Well worth the upgrade price indeed!!!

Cheers
D.K
Yes well worth it, for kicks I took the school bus from my south park animation and had it hit Willy, Willy flies off like a mangled superman and looks like Beetle Baily after the sarge kicks his butt.

I'm trying to tweek the gravity magnitude and density etc. trying to make it look funnier.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
heyvern
Posts: 7042
Joined: Fri Sep 02, 2005 4:49 am

Post by heyvern »

The "rotating gradient" issue is something I've been thinking about. It is annoying that the "light source" can't stay in place. I had looked into the scripting reference but can't find the location values for the gradients so I don't think this could be scripted. If gradients could be scripted it would be a simple matter of making the gradient angle stay the same in relation to the layer rotation.

There might be a way to pull this off with bones... uh... er... not for the feint of heart though. It would require a single bone layer for every "object" since bones in separate "chains" in the same bone layer don't interact.

So, you would have a bone layer for each "ball" with a ball vector layer inside. The bone would control the vector POINTS ONLY so the gradient WOULD NOT change direction. Apply physics and each bone layer falls and bounces just like a physics layer would.... uh... I think. Haven't tried it yet but I am pretty sure.

I think this calls for another script. A script that splits one vector layer into individual bone layers. Only needed when using gradient or shading styles of course.

-vern
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
GCharb
Posts: 2276
Joined: Mon Oct 10, 2005 2:31 am
Location: Montreal, Quebec, Canada
Contact:

Post by GCharb »

LOL, a Homer Simpsons wannabee :)

Well done mate! :)

This is fun stuff, and very accurate!

G
User avatar
GCharb
Posts: 2276
Joined: Mon Oct 10, 2005 2:31 am
Location: Montreal, Quebec, Canada
Contact:

Post by GCharb »

Vern, this would be very helpfull, and not only for physics.

I try to spend at least 2 hours a day learning Lua, which is really straight forward, I hope to make a first script in a week or two!

G
Post Reply