Ask a Question related to Macromedia Director 3D, Design and Development.
-
keogan #1
earthquake effect on 3d world
Hey there,
I know I am becoming a plague but I have so many questions. This learning
curve is bloody steep. Anyway, just wondering if anybody out there have ever
put any effects on a 3d world member. I would like some kind of shudder/ripple
effect everytime I hit the base drum. Anybody got suggestions?
A
keogan Guest
-
Hello World?
I have downloaded Flash Media Server 2 and installed it but I have no way to tell if its working and I have no way to get started. I downloaded the... -
Its New World
:music; Hi Guys Previosly I was a flash Designer.....Now I m in programming..... So welcome me for in the new world..... -
2D map for a 3D world
you can calculate and scale the positions of your character simply taking only x and y position of it, create a map in 2d and positioning an avatar... -
OS 9.2 on a Old World
I have a Old World that is not a native G3. Its a G3 with a upgrade card. is there someway to run 9.2.x on it? I really want to get OSX, but... -
World Pac
http://catalog.worldpac.com/webparts-overview.html Before I go figuring this out from scratch... Has anyone here worked with their Java API and... -
tedalde2 #2
Re: earthquake effect on 3d world
Put a little random decaying noise on your objects (or, better yet, your
camera). At a frequent interval, like stepframe, or on a 30ms timeout:
(pCount would be a global or property that increments every interval)
pCount = pCount + 1 -- increment this every time interval
vNoiseVector = randomVector() / pCount -- returns a random vector that gets
smaller with time
vNoiseVector = vNoiseVector * vSomeScalingFactor -- scale this very small
vector up to a size that can be used in your scene
-- set your object/camera position
yourObjectReference.translate(vNoiseVector)
You might want to get the position of the object (pInitialPosition) before
doing this, and adjust against that postion every time. So, instead of
translate, use:
yourObjectReference.transform.position = pInitialPosition + vNoiseVector
also you may want to power() pCount to get a faster decay.
Just a thought. Didn't try it myself.
tedalde2 Guest



Reply With Quote

