What I’m trying to achieve is to display a vector with an object (which could be a surface.DrawRect or perhaps a model of a cube or something similar) on a model in a DModelPanel. This vector is relative to the model in the panel.
The issue is that I’d like the object defining where the vector is to move with the model’s angles (when they get changed), and perhaps go behind the model. The angle-changing isn’t an issue, by the way.
Since the DModelPanel uses cam.Start3D to draw the model in it, I was thinking perhaps I could override the function it uses with some other code that would not only draw the model, but draw an object (possibly a 2D one like a surface.DrawRect as I said before) that moves with the model and goes behind it if it gets rotated too far instead of just getting drawn on top-
here’s a gif of what I’d really like to happen:
This is probably VERY hard to do (although I wouldn’t know because I have no idea how to use cam.Start3D), so any help or suggestions would be very helpful to me!
Thanks for reading this!