|
Post by komposite on Jan 22, 2018 18:05:04 GMT
Hey guys ! I've just recently bought this great asset to start to go a bit deeper into Unity, and trying to do a 2.5D survival rogue like kinda game. I know is quite ambitious for the Sound Designer that I am, but it worth the try Anyway, here the thing : After successfully implementing the 2.5D character as shown on video tutorial and according to the 2.5D Demo Scene, creating the inventory, adjusting the Default equip point and so on, my character is refusing to aim and shoot, just like there is no mousetracking or reaction to the mouse leftclick (right click for aiming works fine tho). I did copy all the inVector chara components from the 2.5D scene to my own chara, just to be sure that i have the same config, but it still ain't working. I didn't touch the code or anything. You can check on the picture down there how my chara is aiming (a bit to the ground actually) and see that I got the same stuff rollin' on the 2.5D demo scene. I also got the line of error, but i don't know what's referring to (but by reading the script, it doesn't seems related.) I know it might be a silly stuff, just like an unchecked box I forgot or something. So every help is much appreciated. Thanks !
|
|
|
Post by Invector on Jan 22, 2018 18:18:13 GMT
Check the options "Unlock Cursor On Start" and "Show Cursor on Start" on the InputManager of the Player Inspetor ;)
|
|
|
Post by komposite on Jan 22, 2018 19:53:31 GMT
Thanks for the quick answer !
Yes, I did tried thoses too, but it' still not working :/
I'm gonna try in a new project, see if re-importing the whole package asset might help.
|
|
|
Post by komposite on Jan 22, 2018 22:54:08 GMT
Ok, I have to let you know that I found what it was : I didn't assign a path, so that why I got that error (line 44 on the Shooter Input), wich would prevent me from shooting as the transform didn't had any reference. Working fine now
|
|
|
Post by komposite on Jan 25, 2018 1:45:18 GMT
Ok, an other question for you guys : When I'm aiming, my character doesn't aim straight, he always aim a bit on the side (negative x in this case) which is kind of boring as I can't shoot those f*ckin' zombie... I'm sure the solution to that is easy, but I can't figure it out :/
|
|
|
Post by Invector on Jan 25, 2018 14:48:28 GMT
Try rotate your defaultEquipPoint
|
|
nick62
Junior vMember
Posts: 33
|
Post by nick62 on Jan 27, 2018 20:00:58 GMT
I think that i have the same problem with handgun here: invector.proboards.com/thread/1176/vlockonshooter-aims-on-targetbut it`s ok with assault rifle. I rotate defaultEquipPoint in all directions, but it dooesn`t help This is some problem with vLockOnShooter even in vbot in demo scene (vShooter_Mobile_WITHInventory.scene). In my message i attach an image.
|
|
nick62
Junior vMember
Posts: 33
|
Post by nick62 on Jan 30, 2018 14:05:34 GMT
|
|