Blueprint/C++ Advanced Templates , Tools & Plugins

ok after spending 6 hours i failed yet again miserably

i tried to compile the code for android it showed me that there is some thing about this line :

const EDrawDebugTrace::Type DrawDebugType = bDebugIsEnabled ? DebugDrawType : EDrawDebugTrace::None;

i found that your posted previously two solution:

const EDrawDebugTrace::Type DrawDebugType = bDebugIsEnabled ? DebugDrawType.GetValue() : EDrawDebugTrace::None;

or:

const TEnumAsByte<EDrawDebugTrace::Type> DrawDebugType = DebugDrawType;

this one (const TEnumAsByte<EDrawDebugTrace::Type> DrawDebugType = DebugDrawType;) dose help it to compile with no error for both mac and Android

but in game there is no gravity , i mean there the normal (-z) gravity

however everything looks fine with Windows in all the situations

…
any ideas ?

it is really an amazing plugin it should work with android, ios and mac also

Update : CUstom Gravity Plugin

-Added Android Support
-Added 2D Mode (2D Character + 2D Map Example)
-Some bugs Fixed!

Hello ! First of all thank you for your amzing work this plugin is a lot of fun !! This may be a noob question but how could I change character movement parameters such as “air friction” etc so that the jump of the first person character looks smoother, it kind of breaks the inertia a little. I looked at all the custom character movement but can’t figure it out. Thanks !!

Hello, the Custom Gravity Plugin looks so great. btw I am fairly new in ue4.

I am using the 4.10.2 of the engine and can’t open your project. It says:

“The following modules are missing or built with a different engine version:
UE4Editor-CustomGravityProject.dll
Would you like to rebuild them now?”]

I click “yes” just to see, and then I get an other error:

“CustomGravityProject could not be compiled. Try rebuilding from source manually”]

This goes beyond my skills. What is the problem?

Also have this issue! Hoping for a fix! The custom gravity would be incredible to try and use

is a solution

You can tweak 2 variables “AirControlRatio” and “Decceleration”

Sadly that did not work -

Mhousse1247 you are a Genius.!!!

Why Epic did not implements your code in Unreal Engine?

Thanks that did the trick ! The character is still very bouncy on a landscape, any deformation on the terrain (slope, holes…) even very little, makes the camera jitter, any clue on how to fix it ? I tried changing the gravity scale / power but it didn’t solve it! Im lokking for a way to ease the movement like in the first person character from unreal. Thanks again !

Delete these folders and Generate source again (Binaries,Build,Intermediate)
inside project folder and plugins floder

Thanks !

it’s not that easy , there a lot of things to take in consideration

check Pawn’s capsule physical material , change restitution to negative values to reduce bounciness

Still receiving the exact same error :confused: Does it require a specific version of VS or such?

Does not work for me :frowning:
I did try to delete the binaries, build and intermediate folders and generate again. But still got this in vs:

Error occurred while restoring NuGet packages: Bibliothèque non inscrite. (Exception from HRESULT: 0x8002801D (TYPE_E_LIBNOTREGISTERED))
1>------ Build started: Project: CustomGravityProject, Configuration: Development_Editor x64 ------
1>The operation cannot be completed because BeginBuild has not yet been called.
1>The operation cannot be completed because BeginBuild has not yet been called.
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

I need this plugin for a WheeledVehicle, can you add those please?

WheeledVehicles have VehicleMovementComponent instead of the normal MovementComponent.

Tried redownloading and reinstalling VS

Still getting this error

sorry I never got a similar issue

Could you upload a 4.10.4 version possibly? Would be so incredibly helpful

I don’t have it installed yet , but will upload an updated version as soon as I can