E Amazings
  • Home
  • Automotive
  • Business
  • CBD
  • Crypto
  • Education
  • Entertainment
  • Fashion
  • Finance
  • Health
  • Home Improvement
  • Law \ Legal
  • News
  • Shopping
  • Sports
  • Technology
  • Travel

Subscribe to Updates

Get the latest creative news from FooBar about art, design and business.

What's Hot

This company plans offline presence expansion; to hire 1100 people

August 9, 2022

Earn Rewards Through Crypto’s Piggy Bank

August 9, 2022

Bihar Political Crisis: Nitish Kumar resigns as Chief Minister of Bihar, breaks alliance with BJP; how numbers stack up

August 9, 2022
Facebook Twitter Instagram
E Amazings
  • Home
  • Automotive
  • Business
  • CBD
  • Crypto
  • Education
  • Entertainment
  • Fashion
  • Finance
  • Health
  • Home Improvement
  • Law \ Legal
  • News
  • Shopping
  • Sports
  • Technology
  • Travel
Facebook Twitter Instagram
E Amazings
You are at:Home»Technology»A Math Based Personality For Games
Technology

A Math Based Personality For Games

Paul EasterBy Paul EasterJune 30, 2022No Comments2 Mins Read
Facebook Twitter Pinterest LinkedIn Tumblr Email
Share
Facebook Twitter Pinterest WhatsApp Email


We make no apologies for being hardware focused here at Hackaday, but that doesn’t mean we aren’t occasionally impressed by a particularly inspired feat of bit wrangling. For example, [t3ssel8r] has taken a break from his game to discuss his procedural animation system and the beautiful math behind it.

Sometimes, rather than having specific keyframes, games will instead use procedural animation. This means that the position is determined on the fly rather than a predetermined set of positions. Developers can use the combination of IK or FK (inverse or forward kinematics) to solve for rotation and positions of the joints that will place the end at a specific position. Particularly with crawling multi-limb things, it’s pretty easy to put a limb on the ground and keep it there until it’s too far away, pick a new spot, and move it there. It’s simple code to write and looks convincing. It can handle complex terrain and situations with different limb positions.

However, it doesn’t offer the chance to inject some life or personality into the movement as keyframes do. [t3ssel8r] goes through the equations and reasoning behind his semi-implicit Euler solver-based system. There are some fantastic explanations in the video, but the short version is that he has three parameters to control the system’s frequency, dampening, and initial response. This allows him to tweak the behavior in a somewhat intuitive manner. One problem is stability; if the timesteps get too large, the position quickly explodes outwards. Using eigenvalues (who ever thought you’d use those) to determine the minimum timestep allows the system to remain stable and take multiple smaller steps when needed or just bound the change temporarily.

If you’re looking for more animation, this blender plugin renders your PCB traces in a new light.



Source link

Paul Easter

Related Posts

Up Your Desk Toy Game With This 3D Printed Escalator

By Paul EasterAugust 9, 2022

2022 Hackaday Prize: Congratulations To The Winners Of The Hack It Back Challenge

By Paul EasterAugust 9, 2022

Mapping Out The LEDs On An Outlet Tester

By Paul EasterAugust 9, 2022

AI Creates Your Spreadsheets, Sometimes

By Paul EasterAugust 9, 2022
Add A Comment

Comments are closed.

Our Picks

This company plans offline presence expansion; to hire 1100 people

By Paul EasterAugust 9, 2022

Earn Rewards Through Crypto’s Piggy Bank

By Paul EasterAugust 9, 2022

Bihar Political Crisis: Nitish Kumar resigns as Chief Minister of Bihar, breaks alliance with BJP; how numbers stack up

By Paul EasterAugust 9, 2022
Recent Posts
  • This company plans offline presence expansion; to hire 1100 people August 9, 2022
  • Earn Rewards Through Crypto’s Piggy Bank August 9, 2022
  • Bihar Political Crisis: Nitish Kumar resigns as Chief Minister of Bihar, breaks alliance with BJP; how numbers stack up August 9, 2022
  • Tether Announces Support for Ethereum Proof of Stake Transition August 9, 2022
  • City Limits Expands Focus on NYC Housing; David Brand Promoted to Deputy Editor August 9, 2022
  • Bihar Politics DECODED! How Nitish Kumar again proved he is a master of the art of changing governments August 9, 2022
  • BGMI ban: Gaming companies write letter to PM Narendra Modi – Check their request August 9, 2022
Archives
  • August 2022
  • July 2022
  • June 2022
Facebook Twitter Instagram Pinterest TikTok
  • Home
© 2022 E Amazings - All Rights Reserved.

Type above and press Enter to search. Press Esc to cancel.