playMaker

Author Topic: Create Object / Character Controller  (Read 2128 times)

thisisthemoon

  • Playmaker Newbie
  • *
  • Posts: 1
Create Object / Character Controller
« on: June 24, 2013, 07:59:20 PM »
Hello! I am trying to wrap my mind around the following.  :P

I am building a puzzle/platformer game and currently have a character controller working with 'Get Axis & Controller Simple Move.'
 
I am trying to spawn a series of smaller controllable characters. Each time putting the new character in control and the old behind. Essentially "cycling" through the the five selectable characters.

Playmaker is so great!



jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15620
  • Official Playmaker Support
Re: Create Object / Character Controller
« Reply #1 on: June 25, 2013, 02:12:06 AM »
Hi,

 Use prefabs for this. Have each of your characters as prefabs, and when switching you simply create a chracter in place of the current, AND delete the current character.

Also, one thing that you need to be careful, create your new char slightly in the air so that the collision with the floor is properly detected, if you spawn right on the floor it might fall through.


Bye,

 Jean