Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

draw_sprite_3d don't work

A topic by MisterIzix created Dec 19, 2023 Views: 136 Replies: 2
Viewing posts 1 to 3

Hi Gizmo199,

I hope you're well! 馃槃

I use the function draw_sprite_3d() to draw my character, but the sprite does not undergo any 3D effect.

Do you have any idea where the problem is coming from?


You just need to use the `draw_sprite_3d_ext` and set the "facing camera" argument to false. You will need to adjust the rotations yourself, however

Thanks for a quick response 馃槃

I succeeded by doing what you told me with this (ultimately no need for "draw_sprite_3d_ext") :

draw_sprite_3d(sprite_index, image_index, x, y, 0, -45, Camera.Forward, 0, 1, 1, 1, false);