playMaker

Author Topic: How to set rotation based on speed?  (Read 206 times)

indeed

  • Junior Playmaker
  • **
  • Posts: 83
    • View Profile
How to set rotation based on speed?
« on: February 19, 2021, 12:01:11 PM »
Hi, I have a situation where I'm translating cylinders of different sizes, like wheels, across a plane manually. Each cyl is moving at a random but constant speed.

But right now they're not rotating, just translating.

My physics/math skills are weak and I'm not sure if there's a way in playmaker to rotate the cylinders at the right speed so they 'roll' without seeming to slide across the floor plane. Any advice?

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 6398
    • View Profile
    • jinxtergames
Re: How to set rotation based on speed?
« Reply #1 on: February 19, 2021, 01:16:48 PM »
Hi.
There is a 'Simple Car' sample package on the Ecosystem maybe that can help.
Ecosystem might not work at the moment
here are direct Github Links to the custom actions :
https://github.com/PlayMakerEcosystem
https://github.com/jeanfabre


Join the PlayMaker Discord Channel!