bevy_pixel_buffer icon indicating copy to clipboard operation
bevy_pixel_buffer copied to clipboard

Mouse Position Example

Open HexSleeves opened this issue 2 years ago • 1 comments

Do you have an example using mouse coordinates to draw pixels? I am having issues mapping bevy cursor to position within the image

HexSleeves avatar Apr 25 '23 00:04 HexSleeves

Figured out the main issue, I was not taking pixel size into account....

Setting pixel size to (1,1) allows for world_to_cursor methods from bevy work lol

HexSleeves avatar Apr 25 '23 01:04 HexSleeves