Skip to content

Update - v0.3.0

Latest
Compare
Choose a tag to compare
@Klian326 Klian326 released this 26 Jan 01:10
1190556

TDRL_LineOfSightComponent

ListenServer visibility fix

Fixed the issue causing the listen server to hide other players character
image

TDRL_NPCSpawn

SpawnOnBegin

New parameter "bSpawnOnBegin", which will force spawn OnBeginPlay
image

SpawnNPC and DespawnNPC exposed to BPs

image
image

TDRL_PlayerController

CursorTraceChannel and CursorTraceChannel_Pitch

Now you have the option to select the channel to be utilized in the 'GetHitResultUnderCursorByChannel' function. The 'TDRL_PlayerController' stores the last cursor-hit for gameplay purposes, with the default setting being 'Visibility'. This feature proves beneficial when you wish to exclude specific visible collisions in your map, such as walls.

In addition, you can chose a different Channel (CursorTraceChannel_Pitch) when using the pitch functionality!

image

Control Rotation: ZPlane

New Control Rotation Type, replacing the 'UnderMouse' preset. Instead of utilizing the surface's hit location as the origin, which is projected on the character's height, this preset employs trigonometry to interpolate the player's camera. The aiming vertical height is determined by the ZPlaneFloorHeight property (float).

image

IMPORTANT: If you intend to utilize this Control Rotation Type, I strongly recommend changing the 'CursorTraceChannel' to a custom channel specifically designed to be obstructed solely by the map's floor.


(Old) Under Mouse Visual Debug

image

image


(New) ZPlane Visual Debug

image

image

image


Laser for firearms (Blueprints)

New example of lasers for firearms, using blueprints.

image

image


Cursor Indicator (Blueprints)

New example of a cursor indicator, using blueprints.

image

image


Shooting line

Demonstrative shooting line to test the new aim system.

image