I know its somehow possible with cam.Start3D2D, but I dont want the elements placed IN the world, I want it drawn CONSTANTLY on the players HUD, like some HUDs do(Halo etc), like, the "Incomming transmission" in the top left corner in CoD:AW.
I need somewhat of a direction to get it going.
[QUOTE=whitestar;48369331]I know its somehow possible with cam.Start3D2D, but I dont want the elements placed IN the world, I want it drawn CONSTANTLY on the players HUD, like some HUDs do(Halo etc), like, the "Incomming transmission" in the top left corner in CoD:AW.
I need somewhat of a direction to get it going.[/QUOTE]
Why can't you use cam.Start3D2D? That's the usual way to do this and I don't believe there's another way this can be done properly.
[QUOTE=mijyuoon;48369438]Why can't you use cam.Start3D2D? That's the usual way to do this and I don't believe there's another way this can be done properly.[/QUOTE]
Because >As I said already< cam.Start3D2D puts the stuff you draw IN the world, like behind you or such, like 3D Panels etc in the workshop, but I want it do be drawn on the hud in a 3Dish way, like a healthbar.
[QUOTE=whitestar;48369472]Because >As I said already< cam.Start3D2D puts the stuff you draw IN the world, like behind you or such, like 3D Panels etc in the workshop, but I want it do be drawn on the hud in a 3Dish way, like a healthbar.[/QUOTE]
Eh. Just use position in front of you. It's either just [I]EyePos()[/I] or [I]EyePos() + EyeAngles():Forward() * somevalue[/I]
[QUOTE=mijyuoon;48369507]Eh. Just use position in front of you. It's either just [I]EyePos()[/I] or [I]EyePos() + EyeAngles():Forward() * somevalue[/I][/QUOTE]
Like that:
[code]
cam.Start3D2D(EyePos() + EyeAngles():Forward() * 2, Angle(0, 0, 0), 1)
draw.RoundedBox(0, 0, 0, 100, 100, Color(255, 255, 255))
cam.End3D2D()
[/code]
?
Sorry, you need to Log In to post a reply to this thread.