ProjectBorealischaractermovementcomponent.
IncludesallyourstandardclassicFPSmovementfromHL2:
StrafebunnyhoppingForwardbunnyhoppingAcceleratedbackhopping(andforwardandbackhopping)StrafeboostingCirclestrafingWallstrafingRampsliding/trimping/collisionboostingSmoothcrouchinganduncrouching,andcrouchjumpingOptionalpogojumping(automaticbunnyhopping)WIPSurfingMoreinfointhisblogpost:https://www.projectborealis.com/movement.
BinariesBinariesarecompiledfor4.25,andwillworkonBlueprintandC++projects.IfyouareusingadifferentversionofUnrealEngine4,youwillneedtorecompiletheplugin.
RedistributionnoteOurladdermovementcodeandsprintingspeedlogicisgamespecificandisnotpubliclyredistributedatthistime.
InstructionsPastethePBCharacterMovementfolderintoyourproject'sPlugins/folder.OpenyourUnrealEngineproject.Addinputactionbindingsforjumpandcrouch(Settings>ProjectSettings>Engine>Input).Addaxisbindingsforforward,right,lookupandturn.CreateanewplayercontrollerinBlueprintorC++.Here'sasimpleBlueprintexample.CreateaBlueprintchildclassofPBPlayerCharacter.CreateagamemodewithDefaultPawnsettoyourBlueprintcharacterclass,andPlayerControllersettoyourplayercontroller.Enjoythemovement!YoumayalsowanttouseHL2gravitysettings.GotoSettings>ProjectSettings>Engine>Physics>Constants>DefaultGravityZandsetitto-1143.
评论