playMaker

Author Topic: Mecanim Look At  (Read 4647 times)

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Mecanim Look At
« on: November 18, 2014, 05:43:14 AM »
How to make a simple look at using mecanim? I want make a torso of character looking at target.
I didnt find any tutorial how to..

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Mecanim Look At
« Reply #1 on: November 18, 2014, 07:11:54 AM »
https://hutonggames.fogbugz.com/default.asp?W1031

Check out the Set Animator Look At action.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Mecanim Look At
« Reply #2 on: November 18, 2014, 07:45:15 AM »
I have seen already PlayMakerAnimatorDemos and Mecanim Example scene. Its great, NavMest and follow action are wery usefull. But still i dont know what i need to make look at. Create another layer in Mecanim? set fsm on bone which i want to look at? and how to setup state in mecanim, which parameters do i need? Its wery important for me, becouse of this, my project stop and dont know how to solve this problem. My next step in project is balancing weapons, this look at i need to aiming enemy.

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Mecanim Look At
« Reply #3 on: November 20, 2014, 09:17:31 AM »
Refreshing

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Re: Mecanim Look At
« Reply #4 on: November 21, 2014, 01:59:08 AM »
Hi,

 it's all in the "Inverse Kinematics PlayMaker" scene, you can switch aiming , and as you move sphere your character will look at it, same with arms and legs.

 Bye,

 Jean

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Mecanim Look At
« Reply #5 on: November 22, 2014, 02:02:31 PM »
In this scene, look at and De/Activade IK dont work.

Lane

  • Administrator
  • Hero Member
  • *****
  • Posts: 2511
  • Mender of the past
    • Cleverous
Re: Mecanim Look At
« Reply #6 on: November 23, 2014, 12:29:51 AM »
IK is a unity pro feature.
Products by Cleverous
|| Vault Core : Database
|| Vault Inventory : Multiplayer Inventory
|| Vault Attributes : Character Stats
|| That Hurt! : Dmg Floaties
|| Quinn : 3D

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Mecanim Look At
« Reply #7 on: November 23, 2014, 02:19:33 AM »
So, its possible make look at without unity Pro? If not, then there is no point to continue my game..

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Mecanim Look At
« Reply #8 on: November 23, 2014, 02:46:03 AM »

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Mecanim Look At
« Reply #9 on: November 23, 2014, 03:01:31 AM »
Compatible with Playmaker? Thet dont say anything about this..

Ok i find answer, this looks awesome and easy.
« Last Edit: November 23, 2014, 03:12:49 AM by gozda »

escpodgames

  • Hero Member
  • *****
  • Posts: 687
    • Assets
Re: Mecanim Look At
« Reply #10 on: November 23, 2014, 03:43:00 AM »
It was just an idea, rather than fork out for pro/cancel you game :P

Playmaker supported!

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Mecanim Look At
« Reply #11 on: November 23, 2014, 05:45:15 AM »
This is good Idea. Thanks For help:)
I won't close this Topic as Solved. Maybe someone find other solution for standalone users.

cmonroy

  • Playmaker Newbie
  • *
  • Posts: 34
Re: Mecanim Look At
« Reply #12 on: November 24, 2014, 04:42:29 PM »
Besides FinalIK is indeed compatible with Playmaker... The author has provided some basic funcionality to be called within your own FSM's...

It worked for me, at least.

Check the demo here:
https://dl.dropboxusercontent.com/u/229550374/Amanda/Web.html
As usual, use WASD to move, LeftShift to run and Tab to switch viewports. Done with Playmaker and Final-IK.
« Last Edit: November 25, 2014, 10:32:31 AM by cmonroy »

gozda

  • Junior Playmaker
  • **
  • Posts: 88
Re: Mecanim Look At
« Reply #13 on: November 25, 2014, 03:26:39 PM »
Great, so its really work :]