How to rotate CharacterBody3D in C#?

Godot Version

v4.2.1.stable.mono.official [b09f793f5]

Question

How can I rotate my Character? I don’t have a Transform or Rotate function?

I know it’s probably a stupid question butttt…

I’m just spit-balling because I have no experience in C#, so my entire frame of reference is for GDScript, but…

There aren’t any functions that rotate or transform. You have to modify their properties directly. So you would rotate your character like MyCharacter3D.rotation = 120; or something close. You can find the property reference names by hovering over them in the EDITOR.

What I’m not sure about is the accessibility of these properties. If they are to be accessed freely like in GDScript, they should be public but I could also be completely wrong.

RotateY( float ); but read this:

I think mine may be broken because I set my .net version to 8.0 to use something (I forgot) But I don’t have that function. I’m not even remotly deep into dev so I’m simply moving back to GDscript

your node needed inherit from 3D object. C# version no matter so much here