Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

the cube has a strange projection on the ground

A topic by Zhanghua created Jan 05, 2022 Views: 147 Replies: 6
Viewing posts 1 to 4
(+1)

Hi there, Why the cube has a strange projection on the ground when I change the Z of the ground less than 0 such as -0.9?


(+1)

By the way, support your nice work....

(1 edit) (+1)

Is the object visible? It could be just doing a regular draw call from the object's sprite? 
Edit: Interesting, I'm not sure why it would show a random sub image. Does the sprite go through all of the indexes?

(1 edit)

Yes. it is visible and seems to change the image index.

I just change the code on ground the default demo1 of the project.

(8 edits)

It's none of business of the ground, Just the cube seems to render on the Z=0?

And you are right, the sub-images of sprite draw step by step. (I scribbles some pattern in the sp_cube) 


This is the  one  image sprite. And the projection on the ground rotates automatically, although making the rotation of the cube self  fixed.  


(+1)

Try turning off the objects visibility. Fauxton automatically draws models, so the image that is being drawn is more than likely the default drawing done by GM.

(1 edit) (+1)

It works! I understand this now, Thank u 4 Your explanation...

moved this topic to Questions