counterkruto.blogg.se

Mechwarrior online civil war
Mechwarrior online civil war









New to MWO? Check out the menus at the top of the subreddit for resources and guides!

mechwarrior online civil war mechwarrior online civil war

It would take a lot of time to try something.Mechwarrior: Online and Mechwarior 5 Mercs Discussion For All Transform.position = lastRaycastHit.point + lastRaycastHit.normal * 2 // to teleport you not exactly where there is the collision but a bit before by using the normal of the surfaceīut as we don't have access to VR stuff when starting the game normally, I'm not sure we could do it and hook the methods if there is a collision, return the position of the collisionĪnd you would have a function Teleport with If (Physics.Raycast(origin, direction, out lastRaycastHit, range, teleportLayer.value)) Vector3 direction = // the direction we are looking atįloat range = 1000 // long distance for the raycast to hit something for sure Vector3 origin = transform.position // player position In Unity games they are using a Raycast/RaycastHit method for that.Īnd maybe using layermasks, for the ground for example so it only hits things on the ground layer or more masks for objects etc. Yeah a teleport would be nice and I think it's totally doable because it's how VR players are moving actually, but at the same time maybe it's not possible to do it. As for teleporting forward I only know how to hotkey x and z to move you in those directions by a specified amount trying to move forward by wherever you are facing is something I don't know how to do and the coordinate values are weird in this game like if you do the hotkey you will move far the first few hotkey clicks then move smaller and smaller distance until reaching value 0 then past that you slowly move more and more again so I have no practical solution to your request

mechwarrior online civil war

The script would be massive if more slots were added I am too lazy to code more than 2 slots lol. Also it would be nice to create a hotkey that teleports you about 1 meter forward,as changing coordinates manually is inconvenient. How can I make more than two? For example I want f1-f9 to remember my coordinates and 1-9 teleport me to them respectively.

mechwarrior online civil war

So the cheat allows you to remember two spots with f1 f3 and teleport to them using f2 f4.











Mechwarrior online civil war