|
| 16 Aug 2016 10:07 AM |
https://www.roblox.com/games/289685010/Bird-Simulator
idk how to describe it. if you notice in bird simulator, when the bird follows the cursor, it doesn't immediately snap to it. it flows towards it.
https://www.roblox.com/games/52825266/Astro-Storm-WIP
whereas here in my own game, you'll notice that using a gamepad or wasd and purely CFrame makes the controls immediate and unrealistic.
I want to still be able to use the gamepad or wasd keys, but i was hoping someone could give me some advice as to accomplish that fluid effect like in bird simulator (although without the mouse) ive asked a similar question a few times before but i always got the same answers. i was told to use a body gyro, but never told how. when asking how, they tell me to use cframe on the body gyro, which always resulted in errors (plus cframe is not a property of body gyro on the wiki) |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2016 10:55 AM |
| Use a BodyGyro. Set the CFrame of the BodyGyro to the target rotation. Don't worry about the X, Y and Z components of the CFrame, they are ignored. Play around with the P and F properties of the BodyGyro to make it faster/slower |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2016 12:26 PM |
can you explain the F to me? i don't see it on the wiki when i looked.
I see D and P though
also what are they? the wiki doesnt explain it good |
|
|
| Report Abuse |
|
|
| |
|
|
| 18 Aug 2016 10:45 PM |
| You could make a lerp function. |
|
|
| Report Abuse |
|
|