• CAMERA CONTROLS:

- Move Camera

W,A,S,D

- Camera Height

Q,Z

- Rotate Camera

Mouse Middle Button or Arrows

• THINGS TO CHECK:

1. Turn Effects On and Off for both star and Star Shine objects. Note that when the effects are turned on, the object is cutoff at the top and/or bottom. Move the camera around to see how the cutoff changes.

2. Change the layer Z value and check that the cutoff threshold changes. With the right values, it's possible to almost fix the cutoff the issue, but it's not very reliable, and new problems show up when adding rotation to the object.

3. With a layer Z value different than 0, add rotation to the Star. You can see that it rotates off center.
On this case, check the "Rotation Fix" checkbox. Even though it fixes the rotation problem, you can see that the Cutoff becomes even worse with with this fix.

Z rotation alone with with a layer Z value of 0 also triggers the cutoff issue sometimes.

4. Turn on the 3D Shine Effect. The aim is to create a more detailed effect with this, but I need it to rotate towards the camera. The only way I'm able to achieve this is using the Rotate 3D object behavior, as the 3D object does not possess a "rotate towards position" action. I tried different ways but wasn't able to achieve it.

You can see that as soon as you turn on billboard, the position of the 3D shine changes and can't be restored. (There isn't also an option to disable the Rotate 3D behavior. That would be nice.)

5. Finally, you can check the 3D Rotation Tracker Text that tracks the 3D rotation of the selected Star Glow object. Unfortunately, even though the expression exists, it doesn't provide a value.

Hope I didn't forget anything!

I made this demo interactive in order to make it easier for you to test all different scenarios. Hope it helps.

Download

Download
3D Sample.c3p 4.7 MB

Comments

Log in with itch.io to leave a comment.

Hey! Thanks for looking into it, I will check these out and get back to you.

1. Make the StarShine sprite have more transparency around it (e.g. resize centered with a value like 800 for width/height)

Now looking at the layer Z rotation issue

For layer Z rotation issue, try:
https://kindeyegames.itch.io/c3-3dobject-alpha/devlog/784817/fix-zelevation-hand...

Also for rotate 3d w/ layer z elevation:

https://kindeyegames.itch.io/construct-3-rotate-3d-behavior/devlog/784822/fix-ze...

(1 edit)

Hey! Apologies for the delayed response, I've actually just got around to this.

So I have tried your latest builds, and from the tests I have conducted, I didn't really observe any considerable difference, except now the z-elevation 'hack' I used to kind of get around the cut-off issue no longer works. So in a way it ended up going a step back in that sense. - of course it would be better if we could fix the issue without needing a strange workaround like that wither way.

I'm not sure if the main issue was evident on this demo I created for you, as you needed to move the camera around quite a bit to detect it. Here's a gif I recorded that should be pretty apparent. Note the lower portion of the star, as it is cut off as I move the camera. That's the main issue I am dealing with.

The second main issue I have is, as you can see, the 3D star shine that I'm attempting to use. The 3D object that makes up that light ring, is by all means aligned with the Star object. It has the same X,Y and Z positions. But as soon as I apply the Rotate3D behavior to it in order to make it rotate towards the camera, it gets off-center like that. I tried brute-force and adjust its position to see if I could get it to align with the star using different values, but whenever I do that, it just starts rotating off-center, so I can't do anything with it.

Let me know if you would like me to send a .c3p of my project.