Unreal Engine 4
Unreal Engine 4 is a game development engine that’s shiny.
Things for me to learn
- How difficult to compile code?
- Rama load/save?
- Navigating between levels?
- Modular/bundler plugins? (half done)
- Moving objects? Moving platforms?
- Saving and loading instances?
- Multiplayer?
- Making materials?
- Painting terrain?
- Accessing VR controllers?
- Supporting both VR controllers and mouse/keyboard?
Things I’ve tried out=
- Committing to GitHub? Viewing diffs?
- Saving and loading games?
- Packaging & distributing?
- Built in tools for Git?
- Player movement?
- Rolling balls?
- Mobile support? - Needs VS 2015, keeps on crashing during build
Making objects move after they stop
The fix that worked for me was:
First, make sure they don’t disappear after a few seconds. In the MyProjectile Blueprint’s Defaults tab, change Initial Life Span to a larger number, or to 0.0 if you want them to stay forever.
Next, you’ll want to make the projectiles physics actors. In the Components tab, select the [ROOT] CollisionComponent and scroll down to the Collision settings in the Details panel. For Collision Presets, choose
PhysicsActor
.Lastly, make sure that Simulate Physics is enabled in the Physics settings.
Balls never stop rolling
I found the best fix for this was to edit the blueprint for the FirstPersonProjectile
and in the Class Defaults
for the CollisionComponent
, under Physics
:
- Set a
Linear Dampening
andAngular Dampening
value to something like 0.6 - Set the
Sleep Family
toCustom
and set theCustom Sleep Threshhold
to something ridiculous like5000
.
“VR Preview” is greyed out
If you don’t currently have a VR device connected, and/or you haven’t installed the Oculus/SteamVR SDKs, you can enable this option by enabling the “SimpleHMD” plugin (through Project Settings) and restarting.
This will allow you to view an emulated VR stereo view.
Show FPS in game
In the console (by default, press tilde ~), type in stat game
and/or stat fps
.
Change/remove FPS cap from 62 frames per second
This is available in your project settings.