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 Updates & Downloads
»
Official Action Updates
(Moderator:
600
) »
World to Screen Point. Top value.
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: World to Screen Point. Top value. (Read 11612 times)
TIGGYsmalls
Junior Playmaker
Posts: 80
World to Screen Point. Top value.
«
on:
May 11, 2013, 01:09:56 PM »
This was confusing me for a little while but.
1 minus Store Screen Y is the true screen Y Position.
I know it's only a little thing but it would make sense to correct it in the action.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15612
Official Playmaker Support
Re: World to Screen Point. Top value.
«
Reply #1 on:
May 12, 2013, 03:59:00 AM »
Hi,
I think it's because you need to take in account eh fact that Unity has two different screen reference system.
Please read this to learn more about these reference system, and also, what action are you using exactly?
http://docs.unity3d.com/Documentation/ScriptReference/Camera.ScreenToViewportPoint.html
bye,
Jean
Logged
TIGGYsmalls
Junior Playmaker
Posts: 80
Re: World to Screen Point. Top value.
«
Reply #2 on:
May 12, 2013, 10:34:24 AM »
This is an example of what I'm using.
Also, if there were an alignment option in a GUI Button/Box/Label that would be useful.
Logged
jeanfabre
Administrator
Hero Member
Posts: 15612
Official Playmaker Support
Re: World to Screen Point. Top value.
«
Reply #3 on:
May 13, 2013, 04:55:12 AM »
Hi,
There is actually an action for this "GuiLayout Begin Area Follow Object", this will all be done for you.
https://hutonggames.fogbugz.com/default.asp?W422
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Updates & Downloads
»
Official Action Updates
(Moderator:
600
) »
World to Screen Point. Top value.