Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Acceleration

Author
Message
Alberto
20
Years of Service
User Offline
Joined: 24th Oct 2003
Location:
Posted: 9th Apr 2005 17:56
Hello

Is it possible in DBPro to simulate the acceleration phase of a human 3d runner?
I mean, I load an animated file run.x
Then I increase,step by step, the "speed" parameter of the "SET OBJECT SPEED" comand
Alternativly, increase between two keframes the "interpolation" parameter of the "SET OBJECT INTERPOLATION " comand
Does it work? If not, any other solution?
Thanks in advance

Alberto
BF game programmer
19
Years of Service
User Offline
Joined: 22nd Jan 2005
Location: hoover alabama
Posted: 10th Apr 2005 08:50
try animation frame rate
i think? if not its
hope that helps

james bond rules
dj blackdragon3710
19
Years of Service
User Offline
Joined: 5th Nov 2004
Location: In LaLa land
Posted: 10th Apr 2005 09:37
I'm not sure if this would work but here it goes (those might not be the right kind of variables, I don't remember), I have no idea if this code would even work, but you can probably modify it to your needs, and experiment, it's simple code that I just thought of.

It has been said that the body is a slave to the mind. Only the mind knows no freedom.
Indie Rock 13
20
Years of Service
User Offline
Joined: 1st Sep 2004
Location:
Posted: 11th Apr 2005 00:28
Here's a bit of an example that should work...

If your variable for speed was speedx# and it accelerates from say, 0 to 2.0, then do something like this:



If you match it up just right with your actual code you can make it appear that with each footstop that falls his speed increases.

Like I said that should work, I have code sorta like that in my project. Set Object Speed can tend to be a little iffy at times though... best of luck!

Neeeeeeeewom!
dj blackdragon3710
19
Years of Service
User Offline
Joined: 5th Nov 2004
Location: In LaLa land
Posted: 11th Apr 2005 00:34
Ahhh, but I didn't have set object speed in mine, if that was even directed towards me.

It has been said that the body is a slave to the mind. Only the mind knows no freedom.

Login to post a reply

Server time is: 2024-09-23 17:30:09
Your offset time is: 2024-09-23 17:30:09