Does anyone know if you can/how it's possible to change terrain textures at runtime. For example let's say I want to change a square of terrain at a point to grass.
A couple of methods I have considered:
- Create actors via triggers at the point, the actor would contain a grass model or something
- Create units without collision at those points (probably no advantage to this over actors)
- Somehow create splat actors using grass etc textures.
Yeah more after the best workaround, for example it is technically possible to give players the ability to build a path on the ground by creating a unit wherever they click (the unit would have no collision etc) of a unit with a grass model.
Not sure how feasible it is, or at what point (e.g. 500 units per player) it might have an effect on performance?.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Does anyone know if you can/how it's possible to change terrain textures at runtime. For example let's say I want to change a square of terrain at a point to grass.
A couple of methods I have considered: - Create actors via triggers at the point, the actor would contain a grass model or something - Create units without collision at those points (probably no advantage to this over actors) - Somehow create splat actors using grass etc textures.
Anyone have any suggestions?
AFAIK you cannot change terrain tiles during run time.
Unless you are trying to find a workaround?
Yeah more after the best workaround, for example it is technically possible to give players the ability to build a path on the ground by creating a unit wherever they click (the unit would have no collision etc) of a unit with a grass model.
Not sure how feasible it is, or at what point (e.g. 500 units per player) it might have an effect on performance?.