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
) »
Mouse drag even not triggered if camera is too far from object
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Mouse drag even not triggered if camera is too far from object (Read 1969 times)
ryf9059
Full Member
Posts: 100
Mouse drag even not triggered if camera is too far from object
«
on:
March 18, 2014, 05:16:46 AM »
After searching around I kind of have a working demo of mouse drag object. But in my scene the camera is too close to the object and when the object falling from the sky the camera cannot capture all of them since part of the falling trace is outside. I then try put the camera somewhat further and try to run again, strangely the mouse drag event is not even triggered anymore.
I then played with camera distance while running, I found that if I push the camera a bit further the event still triggers but up to some distance the trigger doesn't work anymore, but I need to keep the distance between camera and the objects.
Any idea what caused the trigger to be not responding and how to solve this issue? Thanks
Logged
Lane
Administrator
Hero Member
Posts: 2511
Mender of the past
Re: Mouse drag even not triggered if camera is too far from object
«
Reply #1 on:
March 18, 2014, 08:25:12 AM »
If you're using Mouse Pick, it has a Ray Distance you can specify.
Logged
Products by Cleverous
||
Vault Core
: Database
||
Vault Inventory
: Multiplayer Inventory
||
Vault Attributes
: Character Stats
||
That Hurt!
: Dmg Floaties
||
Quinn
: 3D
ryf9059
Full Member
Posts: 100
Re: Mouse drag even not triggered if camera is too far from object
«
Reply #2 on:
March 18, 2014, 09:32:01 AM »
Quote from: Lane on March 18, 2014, 08:25:12 AM
If you're using Mouse Pick, it has a Ray Distance you can specify.
In my current example I'm not longer using Mouse Pick, instead I use Get Mouse X/Y, normalize then and use Camera Screen To World Point. And that baffles me because there is no ray cast line length or anything like that.
Logged
ryf9059
Full Member
Posts: 100
Re: Mouse drag even not triggered if camera is too far from object
«
Reply #3 on:
March 18, 2014, 11:38:21 AM »
Never mind, problem solved, it just worked again, without sign.
Maybe before then it's a bug, who knows, as long as it works now.
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
Mouse drag even not triggered if camera is too far from object