Announcement
Collapse
No announcement yet.
Object that follows mouse position. How to properly do it with BP?
Collapse
X
-
Why MouseLocationToWorldSpace returns something different from really converted mouse location to world space?Last edited by OrchestralMusician; 06-21-2015, 02:41 PM.
-
I'm no expert, but it may have something to do with you multiplying the world direction by the world location, in one of my games, I do something similar for a line trace to mouse position. I just do a "Get hit result under cursor, and get the location from the hit.Marketplace Assets
Advanced Mobile Input: Marketplace Page | Support Thread ――― Easy Input Remapping: Marketplace Page | Support ThreadMultiplayer Blueprint Chat System: Marketplace Page | Support Thread ――― Closing Credits System: Marketplace Page | Support ThreadMinesweeper Template: Marketplace Page | Support Thread ――― Maze Creator: Marketplace Page | Support Thread
Comment
-
Originally posted by Jamendxman3 View PostI'm no expert, but it may have something to do with you multiplying the world direction by the world location, in one of my games, I do something similar for a line trace to mouse position. I just do a "Get hit result under cursor, and get the location from the hit.
- 1 like
Comment
-
Originally posted by OrchestralMusician View PostMarketplace Assets
Advanced Mobile Input: Marketplace Page | Support Thread ――― Easy Input Remapping: Marketplace Page | Support ThreadMultiplayer Blueprint Chat System: Marketplace Page | Support Thread ――― Closing Credits System: Marketplace Page | Support ThreadMinesweeper Template: Marketplace Page | Support Thread ――― Maze Creator: Marketplace Page | Support Thread
Comment
-
Originally posted by Jamendxman3 View Postis it possible that you can turn off collision for the sphere? Maybe there is a collision option that just ignores line traces and 'hits'?I need a collision for it
Is there a way to detect in Level Blueprint if mouse location currectly places on an Actor?
I applied Event: OnClicked (BallActorBP) - but it never calls in Level Blueprint.
But Event: OnBeginCursorOver (BallActorBP) - works. Why?Last edited by OrchestralMusician; 06-22-2015, 02:34 AM.
Comment
-
Originally posted by OrchestralMusician View PostBut what if I want to drag and drop game Character?I need a collision for it
Is there a way to detect in Level Blueprint if mouse location currectly places on an Actor?
I applied Event: OnClicked (BallActorBP) - but it never calls in Level Blueprint.
But Event: OnBeginCursorOver (BallActorBP) - works. Why?Marketplace Assets
Advanced Mobile Input: Marketplace Page | Support Thread ――― Easy Input Remapping: Marketplace Page | Support ThreadMultiplayer Blueprint Chat System: Marketplace Page | Support Thread ――― Closing Credits System: Marketplace Page | Support ThreadMinesweeper Template: Marketplace Page | Support Thread ――― Maze Creator: Marketplace Page | Support Thread
Comment
Comment