playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
»
Vector 3 to Int
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Vector 3 to Int (Read 2641 times)
Rhyuzaky
Playmaker Newbie
Posts: 32
Vector 3 to Int
«
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?
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Vector 3 to Int
«
Reply #1 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?
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
Rhyuzaky
Playmaker Newbie
Posts: 32
Re: Vector 3 to Int
«
Reply #2 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?
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Feedback
»
Action Requests
»
Vector 3 to Int