Arkathorn Posted September 11, 2015 Share Posted September 11, 2015 I am trying to create a prefab that is the size of one turf (4 units), but I have no idea what the ratio of pixels to world units is. Does anyone know? Additionally, how would I go about making this prefab many-sided, like walls are? (As opposed to rotating to face the camera whichever way you turn) Link to comment https://forums.kleientertainment.com/forums/topic/57771-pixel-to-space-ratio-and-many-sided-prefabs/ Share on other sites More sharing options...
Mobbstar Posted September 11, 2015 Share Posted September 11, 2015 uh... as for the size, you can scale things using inst.Transform:SetScale(1,1,1) (1 is default) Link to comment https://forums.kleientertainment.com/forums/topic/57771-pixel-to-space-ratio-and-many-sided-prefabs/#findComment-671601 Share on other sites More sharing options...
Arkathorn Posted September 11, 2015 Author Share Posted September 11, 2015 uh... as for the size, you can scale things using inst.Transform:SetScale(1,1,1) (1 is default)Yeah, but that loses resolution, and I would still have to guess until I found the right scale. Link to comment https://forums.kleientertainment.com/forums/topic/57771-pixel-to-space-ratio-and-many-sided-prefabs/#findComment-671605 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now