playMaker

Author Topic: Zoom with Mouse Wheel (Playmaker Tutorial) [SOLVED]  (Read 6387 times)

Onkelpoe

  • Junior Playmaker
  • **
  • Posts: 50
Zoom with Mouse Wheel (Playmaker Tutorial) [SOLVED]
« on: October 18, 2013, 05:54:28 PM »
hi,

I tried to follow this one here: http://www.youtube.com/watch?v=MANk3Bj4Nkk&list=UUll8FyIFgevUyLfd-jhhskA

But I keep getting a Loop Error, when rolling the mousewheel (up or down)

Here is my setup, I dont know where the error might be.


« Last Edit: October 25, 2013, 04:06:06 PM by Onkelpoe »

Onkelpoe

  • Junior Playmaker
  • **
  • Posts: 50
Re: Zoom with Mouse Wheel (Playmaker Tutorial)
« Reply #1 on: October 18, 2013, 05:55:09 PM »
... and the rest of the setup

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Zoom with Mouse Wheel (Playmaker Tutorial)
« Reply #2 on: October 18, 2013, 06:23:36 PM »
Zoom out Less Than send event needs to be Greater Than.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

Onkelpoe

  • Junior Playmaker
  • **
  • Posts: 50
Re: Zoom with Mouse Wheel (Playmaker Tutorial)
« Reply #3 on: October 21, 2013, 12:12:15 PM »
Ahhh, I see - now it works, thank you very much for the hint...

Onkelpoe

  • Junior Playmaker
  • **
  • Posts: 50
Re: Zoom with Mouse Wheel (Playmaker Tutorial)
« Reply #4 on: October 21, 2013, 12:41:16 PM »
So, zooming along one axis works like intended... but, how to make the zoom moving in an actual "viewing direction"?

Like when you rotate the view to the left (round Y Axis) the camera faces this way - but when zooming, it follows the Z-axis (like it is stated in the FSM) - but I want to zoom to move in the direction, the camera is pointing/facing (always)

I can see in the Scen-View, that the camera rotates to the left for example and the pivot is turning, also. So the Camera "self" Z-axis is pointing to the left, but when zooming, everything moves "forwards" (along the "old" Z-Axis, before turning left)

Onkelpoe

  • Junior Playmaker
  • **
  • Posts: 50
Re: Zoom with Mouse Wheel (Playmaker Tutorial)
« Reply #5 on: October 22, 2013, 02:22:06 AM »
Sorry, if I described it too confusing...

In other words: I want to zoom in/out in the direction, the camera faces and not along "World Z". Setting all relevant functions to "Self" does not solve it, unfortunatly...

So, how to make it, that the camera zooms Z in direction it is facing?

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Zoom with Mouse Wheel (Playmaker Tutorial)
« Reply #6 on: October 22, 2013, 02:30:33 AM »
Hi,

 check this post, it has a working sample where it has a zoom feature exactly like how you want ( and it has limits set up as well)

http://hutonggames.com/playmakerforum/index.php?topic=5165.msg24730#msg24730

bye,

 Jean

Onkelpoe

  • Junior Playmaker
  • **
  • Posts: 50
Re: Zoom with Mouse Wheel (Playmaker Tutorial) [SOLVED]
« Reply #7 on: October 25, 2013, 04:06:42 PM »
To be honest - It works now and I dont know what I did to make this happen, sorry!!  :o