Announcement

Collapse
No announcement yet.

Setting Meshes for custom objects

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Setting Meshes for custom objects

    Hi everyone! Do any of you know how to set meshes for custom objects I create? I can do SetMesh() after the game starts, but I want to do it in Defaults so the level editor can see it when he chooses it. When I do a Mesh='Mypackage.specificfile', I get an error. Also, can I treat Karma objects as staticMeshes? For example, I create a karma ball, can I do a SetMesh(MyKarmaball)? Will it still retain the karma properties and bounce around when I touch it or will it just be static? When I do SetMesh() in BeginPlay() forexample, I have to set DrawType = DT_StaticMesh in order to see it. When I do this however, the image that represents the object in the level editor disappears, so I once I place it in the level, I don't see anything anymore until the game starts,SetMesh(x) is called in BeginPlay(). How can I set some kind of image or mesh for the object so i can see it and click on it in the level editor?
Working...
X