I have cursors that i want to include in the game. Im using hardware cursor implementation and setting cursors via “Set Hardware Cursor” function like this
Then i would like to include cursor, that has hotspot in the middle
But hotspot doesnt set properly
Cursor dimensions are 30x30 and if hotspot x and hotspot y are set to 15, nothing changes- hotspot is still probably 0, 0
But if i change cursor shape to crosshair, it isnt applied and changed
You will need to provide a 0-1 value. This means that if you want the center of the image, you will need to put in 0.5, 0.5. I hope that this information helps.
LogHardwareCursor: Error: Failed to load cursor ‘…/…/…/…/…/…/Users/Kyle-PC/Documents/Unreal Projects/MarsWars/Content/Slate/CustomPointer’. If you included a file extension or the size information ‘_WidthxHeight’ remove them.