Do you know the ApplyForce example? There is a kind triangular character you can control with "wasd" right?
I want to implement a cone view to check what the character is viewing?
I guess the best way to do that is to cast several rays in the direction the character is facing, correct?
How can I calculate those rays direction?
And how can I render those rays(lines), just to visually check if they are accurated.
PLEASE, PLEASE, PLEASE help me.
Discuss issues specific the Java port of Box2D
2 posts • Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest