Spectate a Moving Entity

Hai there!

I’d need your help fixing my problem

I’ve made a floating that react button press with ApplyForceCenter, but i’d like it to rotate via Eye Angle and stay upright.
How do i do that?

Thank you.

I think this might be what you’re looking for:
**[Player.SpectateEntity

http://wiki.garrysmod.com/favicon.ico](http://wiki.garrysmod.com/?title=Player.SpectateEntity)**

hm you didn’t understand (the title is wrong sorry)
Here is my code

It work perfectly but when my Floating thing is in the water, it don’t stay upright!
Other thing i’d like to do :
I want the “face” of the crate follow my eye like a Tank Tower.

The crate doesn’t stay upright or the view doesn’t stay upright?

The crate :slight_smile:

Hmm, not really sure how you could do that. Maybe try looking at the code in the Keep Upright tool and see how they did that. But I’m not sure if you can.