Inconsistent behavior in game with Rthro

I have created a small moving platform using TweenService and also adding velocity to the part when it moves so that the player should move with it. The problem is when I use an avatar with any Rthro part, it doesnt work.

here is a video of it not working with Rthro
https://gph.is/2CmNUdo

and here is a video of it working wiht no Rthro
https://gph.is/2RrW12X

For what its is worth, this is how I am doing the tween and applying the velocity

while true do
	for i,v in pairs (destinations) do
	local tween = tweenService:Create(mover, tweenInfo, {Position = destinations[i]})
	local direction = (v - mover.Position).unit
	local velocity = (direction*(v - mover.Position).magnitude)/model.MoveSpeed.Value
	mover.Velocity = velocity
	tween:Play()
	wait(model.MoveSpeed.Value)
	mover.Velocity = Vector3.new(0,0,0)
	print(i,v)
	wait(model.DestinationPause.Value)
	end
end

Very confused how this can happen. There are no other scripts n the game that can affect the player, and nothing specific for my player to explain why the behavior would be different for different players.

Thanks in advance for looking into this :slight_smile:

EDITS: I discovered it was because Rthro avatar after posting so i midified this post to reflect that new context

It could have something to do with your avatar. Try changing your avatar and see if it works.

1 Like

yes i discovered it was because of rthro and so there i changed the title of this support thread to figure out why, since i want my game to work with rthro.Thanks!

You should use something like “StarterCharacter”. It will change player’s character to whatever you want. To do this simply just clone a model of a character and name it “StarterCharacter” then put it in the “StarterPlayer” folder.

1 Like

not sure I follow what you are suggesting. I would like players to play as their own avatar and I dont want to replace it.

1 Like

Did you try to do something with avatar settings? If not then try doing that.

1 Like

Maybe you should file a bug report?

7 Likes

maybe i should, i will see if anyone else agrees or knows why it isn’t a bug

Using a StarterCharacter model is not a fix to the issue at hand. I’d recommend filing a bug report.

You could try using a BodyVelocity/BodyPosition object.

1 Like

I do have a BodyVelocity object inside the platform already.

I’m not sure that there is a direct fix for this, but maybe you could weld the character to the platform until the player tells it to move/jump at which point you would break the weld so that the character could carry out this action and then bring it back so that the character would be once again welded to the platform when it was back on the platform, unless it jumped off the platform in which case you wouldn’t weld it again