Jump to content
  • Advertisement
Sign in to follow this  
gamerking

matrix

This topic is 4812 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi, i was wondering how i can create slow-mo bullet time action i have the knowldge to create the bullets and so forth but getting time to freeze is the hardest bit. i was thinking that maybe i should use the main menu code (which freezes time and lets the player click exit) and change that to slow mo would that work any help would be great

Share this post


Link to post
Share on other sites
Advertisement
In your movement and physics calculations simply introduce a scaling factor to the time. Presumably at some point you're gonna calculate the time that has passed between one frame and the next and use it to calculate movement, simply scale that number by some factor x (x=1 would give you normal speed, x<1 would give you slow-mo and x>1 would speed things up).

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!