Re: tease 2004-01-23 - By Greg Edwards
Back Hi Colin,
Not sure what it's intended for but I think I might have an idea of how your doing it. Are you using the block's normal to adjust it's rotational speed....?
I'm still not too familiar with 3D maths etc. so I built a 2D version : ) Drop the code below on a graphic sprite.
property pSpeed
on beginSprite me sprite(me.spriteNum).rotation = random(90, 270) pSpeed = 0 end
on exitFrame me pSpeed = pSpeed - sin(sprite(me.spriteNum).rotation / 180 * pi) pSpeed = pSpeed*.97 sprite(me.spriteNum).rotation = sprite(me.spriteNum).rotation + pSpeed go the frame end
oh, and I guess you're parenting the blocks together.
Greg
On Thursday, Jan 22, 2004, at 23:49, Colin Holgate wrote:
> I'm not going to tell you how I did this (at first anyway, so you can > have the fun of figuring it out) or what it's intended for. I will > say that it doesn't involve externally made models or Havok at all, > it only involves primitives: > > http://staff.funnygarbage.com/colin/blinder.html > > Click anywhere.
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Dir3d-l mailing list Dir3d-l@(protected) http://nuttybar.drama.uga.edu/mailman/listinfo/dir3d-l
|
|