playMaker

Author Topic: Mouse Pick / hit point issue  (Read 1423 times)

j-man82

  • Playmaker Newbie
  • *
  • Posts: 10
Mouse Pick / hit point issue
« on: November 27, 2014, 05:38:27 AM »
Hi,

I have an issue with mouse pick, that I hope someone can help me with:

I'm using "mouse pick" and "add force" to roll some marbles around and that works fine. But what I would like to do is getting the marbles to roll in different directions, depending on where on the marble you click.

I tried creating a vector3 variable called "point" and selected that in "Store Point" on Mouse Pick and "At Position" on Add Force, but that doesn't seem to make a difference, it just rolls in the same direction regardless of where on the marble I click.

I have set the Z value on Add Force to 500, so I don't know if that has anything to do with it?
I make custom music for games - see my portfolio here www.jonaskappel.com PM for rates

j-man82

  • Playmaker Newbie
  • *
  • Posts: 10
Re: Mouse Pick / hit point issue
« Reply #1 on: November 27, 2014, 01:44:32 PM »
I found a solution myself, which I think will work - I changed "Space" on the Add Force action from "World" to "Self" and that seemed to do the trick, so I can now push the marble in different directions.
I make custom music for games - see my portfolio here www.jonaskappel.com PM for rates