What i want to do:
If player/ avatar is close to an object, objects texture changes to a higher rez one/ object changes material.
- How to get distance between two objects using script?
- How to apply/change texture to an object using script?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityWhat i want to do:
If player/ avatar is close to an object, objects texture changes to a higher rez one/ object changes material.
You don't even need to write python code, you can change the material with level of detail (LOD)
Create different objects (or duplicate the same mesh Shift-D if don't want lower polygon count)
The effect is visible in the viewport:
A python soultion would be to combine snippets from: