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 Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Modular Building System
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Modular Building System (Read 1876 times)
drakwon
Playmaker Newbie
Posts: 34
Modular Building System
«
on:
February 20, 2017, 12:57:51 AM »
Anyone have any ideas how I would start going about this with playmaker?
Logged
elusiven
Full Member
Posts: 233
Debt we all must pay...
Re: Modular Building System
«
Reply #1 on:
February 20, 2017, 03:03:09 AM »
If you have no previous experience, I would recommend purchasing Uconstruct instead since making your own will take a lot of time and effort.
Logged
drakwon
Playmaker Newbie
Posts: 34
Re: Modular Building System
«
Reply #2 on:
February 20, 2017, 11:27:08 AM »
I would like to build mine myself so I understand how everything works, Im just questionable about how to go about having items snap to each other.
Logged
elusiven
Full Member
Posts: 233
Debt we all must pay...
Re: Modular Building System
«
Reply #3 on:
February 20, 2017, 12:07:13 PM »
Ok so actual snapping can be done with mathf.round
valueofsnap * Mathf.Round(v.x / snapValue)
valueofsnap * Mathf.Round(v.y / snapValue)
I don't have much time to explain step by step but you can use this with a method or in playmaker a template. Maybe someone else can give more input
https://www.google.co.uk/?gfe_rd=cr&ei=kh2rWI77CqvS8AfBlICgBw#q=unity3d+snap+items+to+each+other
Logged
drakwon
Playmaker Newbie
Posts: 34
Re: Modular Building System
«
Reply #4 on:
February 20, 2017, 12:46:29 PM »
thanks I will give it a try.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Modular Building System