You are browsing as a guest. Sign up (or log in) to start making projects!

7h 45m 26s logged

Did a smaller fix and added a pretty big feature

First, let’s talk about the small fix:

  • I Fixed a super long model name showing up in the HUD in it’s full length, often blocking out other HUD elements. Previously, the HUD would display a model name of any length. Now there’s a hard cap of 24 chars, with any name longer than that truncated (middle style truncation) to fit into that limit.

And now the big feature:

  • Added a first person noclip-style camera mode. It’s accessed with the –first-person flag and let’s you explore the model as a floating camera (not bound like the default orbit camera). It was honestly easier to implement than I thought it would be.
  • With it, I added two new keybinds special to the first person mode - E and V for going up and down. They don’t do nothing in orbit mode.
  • Also added a second –first-person-speed flag for controlling the initial movement speed. It is also controllable during runtime with scrolling or +/- (I didn’t know what to bind these to in this mode since you can’t zoom like in orbit mode and this was the only place where they fit).

In the photos, you can see some angles taken in the first person mode that weren’t possible in the default orbit mode.

0
70

Comments 0

No comments yet. Be the first!