View Full Version : how do i scale objects/meshes using triggers?
anarchy
04-18-2012, 06:25 PM
I want to use a trigger set up either through Kismet or Matinee to scale objects/meshes in game based on player position/distance. for example: when the player is close to the object/mesh it will be full scale, and when the player moves away the object/mesh will scale down significantly. any help would be great.
Thanks.
JessieG
04-18-2012, 07:56 PM
If you want it to scale smoothly based on the players distance, you might be better off scripting that.
anarchy
04-18-2012, 10:20 PM
If you want it to scale smoothly based on the players distance, you might be better off scripting that.
Thanks for the reply.
What I am thinking is that I could have various 'levels' streaming and that everything in the distance (relative to the player) instead of being purely LODed I could have scaled flat like a piece of paper to represent a sky line as well. Obviously this shouldn't be a CPU intensive process, so smoothness isn't an issue. Something quick and dirty should do the job quite nicely.
Any ideas?
anarchy
04-26-2012, 06:41 AM
Anyone? Any ideas?
Archerx
04-26-2012, 07:07 AM
You could use the modify properties node. Make it change the objects Draw scale.
You can have checks so if you character is lets say 100 units away the object should be at a scale of 1, when the character is 200 units away you can have a draw scale of .5
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.