Construct 3 Rotate 3D Behavior
Thanks to the 5 itch tippers, much appreciated!
Released based on the Construct Fund funding model.
https://opencollective.com/construct-community/projects/rotate-3d
Thanks to the Gold Sponsors: Foozle, Salman, Bilge
Thanks also to other contributors including: Sem
Rotate 3D is a Construct 3 Behavior to rotate Construct 3 objects visually around the world x, y, and z axes. We know you are aching to break free from the tyranny of z-only rotation!
The behavior only rotates the visual representation of the object, the 2D bounding box will remain in it's original state. It has been tested on 3D Shape, Sprite, Sprite Font and Text.
Usage notes:
- When using layers and 3D rotations, set the layers to use 3D
- To order rendering of other 2D in front or behind a 3D rotation, set the layer as 2D.
Known caveats:
- Bounding box will not change with behavior rotation.
- Effects will be clipped to the original bounding box, which may not match the rotated bounding box.
- Due to 3D rotations, objects on different layers might require zElevation changes for some objects like Text, etc.
Requests (PRs are welcome in the below depot, bounties can be set on the collective website)
- Automatic rotation degree/s
Due to the Construct Funding, the addon is also released as Open Source and the depot is below.
https://github.com/MikalDev/mikal_rotate_shape
Updated | 21 days ago |
Status | Released |
Category | Assets |
Rating | Rated 5.0 out of 5 stars (3 total ratings) |
Author | kindeyegames |
Made with | Construct |
Download
Download NowName your own price
Click download now to get access to the following files:
Rotate3DExample-1-0-0.c3p 1 MB
mikal_rotate_shape-1.4.0.c3addon 7.2 kB
mikal_rotate_shape-1.9.0.c3addon 8.3 kB
RotateTowards.c3p 82 kB
mikal_rotate_shape-1.10.0.c3addon 8.6 kB
mikal_rotate_shape-1.11.0.c3addon 8.7 kB
mikal_rotate_shape-1.12.0.c3addon 7.8 kB
Development log
- Add ACEs for Enable Quat and Set Quat21 days ago
- fix (zelevation) handle layer Z elevation51 days ago
- Add sync angle from object w/ zAngle for physics on creationApr 07, 2024
- Add fragment lighting support for webGL2Mar 16, 2024
- Update rotate towards positionDec 07, 2023
- Add Rotate towards positionDec 07, 2023
- fix (render) update render on actionsNov 22, 2023
- add (exp) quaternionNov 03, 2023
Comments
Log in with itch.io to leave a comment.
Hello! There seems to be a problem with the Rotate3D.AngleX, AngleY, AngleZ expressions, as I am getting no value from them.
I tried tracking them every tick and I always get 0, even though the mesh is set to always rotate towards the Camera.
The object I am trying to track is a Sprite Object.
Cheers!
I want to report another bug, when an object with the Rotate 3D behavior is a child of another object, it doesn't follow the X,Y position of the parent. It does follow the Z Elevation though.
I was trying to do a procedural skybox.
Hi, I made a large box arrangement from small boxes arranged like a rubix cube. How to rotate a rubix cube from all axes? I tried hierarchies, didn't work. Thank You
The addon is not really made for that case, however you could try changing the local center value through ACEs. Experiment and see if it works for you.
Otherwise you need to use a 3d transform (e.g. vector / matrix math) to rotate each object around the rubick cube center point.
OK, thanks for the solution, I'll try it
Thank you!
can you add an action to rotate an object to a position? I have a sprite for a lens flare and want it to always point to the camera
https://kindeyegames.itch.io/construct-3-rotate-3d-behavior/devlog/646761/add-ro...
See note, you may want to use 3D Shape billboard instead of sprite.
Hi is there a way to purchase all your plugins and games in one transaction?
There was a sale yesterday, that was a bundle. I'll probably do another around the winter holidays.
Is it possible to attach a 3d object to this and match its rotation? When I try, the whole 3d scene turns 2d and everything disappears.
Are you adding this behavior to 3dobject (not recommended) Or something else? Send a test project. Also look at dev console for errors.
https://www.mediafire.com/file/rjvumsroaka9npg/Mesh.c3p/file
Im just playing around and trying to make 3dobject rotate with the cube. There's many errors so I think I probably failed.
I am not exactly sure, how you want this scene to work, but it looks like the center of the chicken model is at the bottom, rather than the center of gravity. You can fix that in blender.
just what I was looking for
<3
It needs some properties exposed to tweak without events, even if you cant preview in editor, like:
Enabled (Checkbox)
X Offset
Y Offset
Z Offset
X Rot (0-360)
Y Rot
Z Rot
X SPD (positive & negative values)
Y SPD
Z SPD
It will make all more easy.It is open source, so you or someone else can make a PR to support this.
Also people can make a bounty for adding features like this on: https://opencollective.com/construct-community (I am trying to encourage c3 addon developers to use this service and do (paid) work for the collective.)
I saw the Rotate3D there, but no idea there was a community of devs able to create this extensions, very interesting, thanks for the info!
Crazy stuff dude. Nice work!
Omg. I need those rotating texts. Also how does that site work? Can we request stuff like 3d Trails for like 100 dollars or something?
I believe Skymen's latest update to his free trail renderer that's available on Scirra's site now supports mesh-based trails in x/y/z.
Nice! I'll check it out thanks.
🔥🔥🔥