• Planetary(Sphere) Gravity Need help with coding the angles
    1 replies, posted
[URL="http://www.youtube.com/watch?v=9X-sbkqrlWQ"]http://www.youtube.com/watch?v=9X-sbkqrlWQ[/URL] video demonstrating what i have so far Goal - recreate the player entity as a physobj and allow the player's angles(including calcview) to orient properly around it, while still allowing control. I have finished enough to where the player can travel from planet to planet and experience proper gravity. I just need help getting the angles to work as intended. In the video you can see that the camera doesn't stay with the player and that the players angles aren't based of off the player's aimvector.
Welcome to Facepunch! You can set your own vector in CalcView and modify it based on where the mouse is moved. You could overwrite AimVector ( You may need to so that shooting and all works perfectly ). Are you planning on keeping it thirdperson, or firstperson? What have you tried so far regarding the CalcView?
Sorry, you need to Log In to post a reply to this thread.