Jump to content

Recommended Posts

On 3/15/2022 at 6:03 AM, Monti18 said:

You can use


inst.Transform:SetRotation(rot) --a number in degrees I think
inst.Transform:SetRotation(90)

doesnt seem to do anything, what am id oing wrong? i ensured its being called

 

EDIT : 

inst.Transform:SetRotation(0.5)

doesnt seem to do anything either

Edited by Cmdpro
On 3/22/2022 at 11:47 AM, Monti18 said:

Did you use it on the server or the client? You may need to use it in the client to see a difference. Try it in the console by entering

ThePlayer.Transform:SetRotation(90)

On client it worked however it is changign the character direction animation instead of rotating the prefab

4 hours ago, Monti18 said:

Then I'm unsure what you mean with rotating the prefab, as for me changing the character direction animation is rotating the character.

what i mean is like rotting the anim so 180 and the anim is flipped and 90 would be the anim on its side

Edited by Cmdpro
fixing a typo

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...