Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - cardo

Pages: [1]
PlayMaker Help / Raycast passing through object
« on: April 25, 2020, 02:03:18 AM »
Hi all,

I have a really basic setup with a player character that will shoot a raycast from the camera when mouse1 is pressed. When the raycast hits an enemy capsule it sends an event to the enemy to subtract 1 from its health.

The issue is that the raycast seems to only hit the enemy capsule a small percentage of the time and will happily pass through the object other times when looking at the raycast debug line.

Is this a known issue? I've searched various forums for the answer but assuming it's something simple I've missed in my setup below. Any help would be appreciated!

PlayMaker Help / Animating view bob and weapon sway
« on: October 09, 2019, 12:01:54 PM »
Hi all,

Looking for a simple way to animate a simple weapon sway and view bob using Playmaker, but am pretty stumped with where to begin! Unsure if this should be an animation that is triggered to move the weapon back and forth when the player moves, or if there’s a quicker way to add a curve to move the weapon instead

I’m not sure what the normal way of doing this kind of movement is within unity or whether a spring arm can do this instead?

Any ideas are very welcome!  :D

PlayMaker Help / Weapon sway
« on: January 16, 2018, 07:09:11 AM »
Hi all,

So I'm looking to add a weapon to a first person character I have set up already. It will be parented to my player capsule, which I also have the camera attached to. What I'm looking to achieve is to have some lag with the weapon so there is a slight delay when I turn and it catches up to simulate arm/weapon sway.

Any ideas the best way to do this?

Thanks in advance!

PlayMaker Help / itween actions for door movement
« on: January 03, 2017, 02:08:29 PM »
Hi all,

First post here so expect plenty of noob questions to follow!

I've been trying for a long time to make a basic action to move a door shaped cube via a trigger using itween actions. I've tried a variety of different options with 'move by' and 'move to' but can't seem to find what I thought would be a simple solution.

I can get the door to open fine but biggest issues using 'move by' is re-triggering the door if I leave and re-enter the trigger before it's back in its initial location which then triggers the door to move even further from it's starting place.. I've tried using 'wait' states to allow the door to reset, but then if the player is in the way of the door it ignores that and I get crushed!

Current solution is using 'move to' and having additional invisible brushes as waypoints which just seems like overkill, especially when I start using multiple pieces of door and am triggering them to go left and right respectively.

I know I should probably just be using an animation for the door but was hoping itween could provide a quick fix at least! What am I doing wrong?!  :-[

Pages: [1]