Skip to content

Not working as intended simSwapTextures, simSetObjectMaterial, simSetObjectMaterialFromTexture #4398

@HSC-1

Description

@HSC-1

Question

What's your question?

First
I Failed to use simSwapTextures
Following the example, I returned empty list

import airsim 

c = airsim.VehicleClient()
print(c.simSwapTextures("test",0))

tags
texture_bp
So I'm looking for replacement
find #3992
I try this API but not working as intended

print(c.simSetObjectMaterialFromTexture("texture", "sample_texture.jpg"))
print(c.simSetObjectMaterial("texture","sample_texture"))

This output is True, False
image

I obviously care about directories
sample_texture.jpg in my diretory is with python file
Jist in case, I put it all diretory else

Metadata

Metadata

Assignees

No one assigned

    Labels

    apibug-reportfor issues filed as bug reports

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions