highlight 3d object on mouse over?
Community Forums/General Help/highlight 3d object on mouse over?
| ||
how do i make a highlight / border/ outline on my 3d object when the mouse is over it? something you would do in character selection/ character creation |
| ||
If you are using Blitz3D, OpenB3D or miniB3D you can use CameraPick with the mouse coordinates, and it will return the selected entity (as long as the entity is pickable: you have to use EntityPickMode before). Then, you can just change entity color. |
| ||
Setting the object to fullbright is a good way to visually highlight it. eg. Const C_FULLBRIGHT = 1 EntityFX entity_to_highlight, C_FULLBRIGHT |