Change texture of any 3D Model (GLB) object at runtime using images from your project resources, and animate UV coordinates with pixel-based offsets — ideal for sprite sheet animations on 3D models and more.

ACTIONS: Texture.
• Change texture - change texture on a specific material slot (from project resources only).
• Reset texture - reset texture on a chosen material slot to the original GLB texture.

ACTIONS: UV Offset.
• Change UV offset X - shift texture horizontally in pixels.
• Change UV offset Y - shift texture vertically in pixels.
• Reset UV offset - return UV offset to 0, 0 on a specific material slot.

CONDITIONS: UV Offset.
• Check UV offset X - compare current X offset with a value.
• Check UV offset Y -compare current Y offset with a value.

EXPRESSIONS: UV Offset.
• GetUVOffsetX(Object, Slot) - returns current X offset in pixels.
• GetUVOffsetY(Object, Slot) - returns current Y offset in pixels.

Published 1 day ago
StatusPrototype
CategoryTool
PlatformsHTML5
Author7ToGo
Made withGDevelop
Tags3D, Animation, extension, gdevelop, glb, Textures

Download

Download
ThreeDTextureChanger.json 47 kB

Leave a comment

Log in with itch.io to leave a comment.