Jump to content

MonsterAI with custom model runs/attacks backwards


thehankinator
 Share

Recommended Posts

I am trying to use a monster I got from Arteria3d with the stock MonsterAI.lua. I've got all the same settings on the script as the crawler but the monster runs and attacks backwards.

 

I've tried playing with the "Character angle" property in the physics tab but that appears to give very erratic behavior for any value other than 180. Setting 0 the monster move between the player location and the monster's initial position very very quickly until finally flying off the side of the world. Setting 90 and the monster spins really fast and flies off the side of my world. Finally setting 180, the monster moves and attacks properly but backwards.

 

Any one have ideas?

 

Thanks

Link to comment
Share on other sites

your characters back needs to be rotated facing the z axis ( the blue axis) , also make sure that the physics settings are all right .

exspecially take a look at the character angle, you insert 180.0 there so that everything works fine when you rotate it like this.

post-12189-0-68775400-1435949832.png

Link to comment
Share on other sites

Ok I got it working, I had to download Blender, rotate the model then export it back to fbx, reimport into leadwerks. Looks like I am going to have to modify every single character from Arteria3d in blender, then screw around with the normals and resize them. What a pain. Certainly not what I thought I was buying. Anyway thanks for your help!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...