I’m not sure if this is a bug or I’m doing something wrong. According to docs, we can set texture to a model.
Simply what I did:
go.property("enemy_texture", resource.texture("/assests/pink.png"))
function init(self)
go.set('/go#model', "tex0", self.enemy_texture)
end
returns:
'/go#model' does not have any property called 'tex0'
Model has build-in model.material
Is this how suppose to work? Do you see anything wrong here?