Playmaker Forum

PlayMaker Feedback => Action Requests => Topic started by: Rhyuzaky on September 24, 2015, 07:36:42 AM

Title: Vector 3 to Int
Post by: Rhyuzaky on September 24, 2015, 07:36:42 AM
I would call an action or something to convert a Vector 3 for Int (For example: 3,555 4,654 8,556 3 4 to 8 in a vector 3).
Basically stabilizes it not contain numbers in addition to integers.
Is there any way to do this?
Title: Re: Vector 3 to Int
Post by: Lane on September 24, 2015, 08:14:41 AM
You can take each part out of the Vector and round it, then inject them back into the Vector after rounding.

There isn't a Vector3.Round() method, but we could make an action that automates the the process above. What is the use case?
Title: Re: Vector 3 to Int
Post by: Rhyuzaky on September 24, 2015, 04:37:06 PM
I'm trying to use it to create parts of a spacecraft game that I'm creating exploration and survival espacial.Neste calso use to create grid piece by piece.
Sera that a d efazer so compactly it?