Hi, I am trying to make my RTS game as performative as possible, so i try to create it with a minimum (perferrebly zero) of collisions. Is there a way to bypass the need for collision between characters and ground? for example to tell the characters to hover in some way above ground, but close enough so that the player wouldn’t notice? maybe something else? thanks/
Step 1 would be to not use characters - if that’s what you mean above. The movement component is computationally expensive. Sphere / box colliders are incredibly efficient, though.
Line Trace?
2 Likes
thanks. can you expand on line trace please? and are pawns a good subsitute for characters?
you can use the UFloatingPawnMovement for movement if you dont want to do it manually. and if you need ‘gravity’ on an RTS style game either line/box trace down to find the ground or addlocaloffset(sweep)
Turning off gravity and simulate physics for one. If the map/s is going to be flat you could set their location to absolute and set z to 0(or like 10) to be just above the ground like you said