I would to create a gameplay like a myst-like. I use 2 blueprints: The FirstPersonCharacter and the PositionPoint.
- The **FirstPersonCharacter **blueprint is used to perform a collision between the First Person Character and the PositionPoint Actor by raytracing.
- The **PositionPoint **is used to calculate his position and set the First Person Character 's position with the PositionPoint’ position (It is a sphere with a blueprint).
My goal is when you press fire on the PositionPoint, you automatically go on the sphere.
The Event hit or the OnComponentHit don’t work with the raycast (LineTraceByChannel and LineTraceForObject).
In fact, when i press fire with the mouse, the PositionPoint is well hit but the Event hit is not triggered. Can you tell me why, please?
The PositionPoint collision is set on BlockAllDynamic.
You can see the PositionPoint Blueprint
And the FirstPersonCharacter Blueprint
ps: Sorry for my english!