This is kinda a hard problem for me right now… can anyone help me? My main goal is to get my platform to move while riding players, and perform smooth constant rotation at the same time as well. Assuming I have this red Part as decoy for the platform.
Code:
local ROTATIONAL_SPEED = 0
local angularVel = Instance.new("BodyAngularVelocity")
angularVel.MaxTorque = Vector3.new(math.huge, math.huge, math.huge)
angularVel.P = 50000
angularVel.AngularVelocity = Vector3.new(0, ROTATIONAL_SPEED, 0)
angularVel.Parent = Test
-- without BodyAngularVelocity or BodyGyro, platform will be unstable when player stepped on it
local bodyPos = Instance.new("BodyPosition")
bodyPos.MaxForce = Vector3.new(math.huge, math.huge, math.huge)
bodyPos.P = 50000
bodyPos.Position = Test.Position
bodyPos.Parent = Test
Despite how high the value I set in BodyAngularVelocity, the Part still deforms after multiple collidable jumps, and I need this part to stay still despite the force. I could use BodyGyro but this will lock rotation, defeat the purpose of constant rotation in-game, or I’m just dumb for it…
Extra: I also need a way to make the tilting smoothly modifiable as well, can anyone help with this as well? Thanks so much.