Search found 3 matches

by D646
Sun Jun 03, 2018 10:00 pm
Forum: Questions and Help
Topic: Most efficient rotation method for an entity?
Replies: 5
Views: 5350

Re: Most efficient rotation method for an entity?

Thanks for your help, @Norbo. It worked prety well. For some reason, quaternion.ToString() were returning something like: 0, 0, 0, 1, and I concluded that any rotation were happening. Talking about EntityRotator, after diving into the source code, it seems that setting EntityRotator.TargetOrientatio...
by D646
Fri Jun 01, 2018 8:13 am
Forum: Questions and Help
Topic: Most efficient rotation method for an entity?
Replies: 5
Views: 5350

Re: Most efficient rotation method for an entity?

Morning, Thanks for your answer. I tried to apply what you suggested, however, I am missing something. Before integrating the useful EntityRotator, I modified my Rotate method like that, just for testing the "teleporting" aproach. public void Rotate(float radiants) { Body.Orientation = Qua...
by D646
Thu May 31, 2018 10:20 pm
Forum: Questions and Help
Topic: Most efficient rotation method for an entity?
Replies: 5
Views: 5350

Most efficient rotation method for an entity?

Evening all, I am creating a game and decided to migrate my code and use BepuPhysics. The engine is really easy to use and works just amazing, however, Ithink I am overcomplicating my rotation method for players and game objects. Basically, I am using something like: Public void RotateOnYAxis(float ...