Search found 118 matches

Re: CryEngine 5.4 source code - float A != float B ? should it be absolute of float A - float B > Epsilon instead?

To be sure, you're worried about that condition in regards to performance? Yes, but mostly I worry about the correctness of the code. Maybe you've already known, but according to this article Floating point math is not exact. Simple values like 0.1 cannot be precisely represented using binary float...

Re: [TUTORIAL] 5.4 - Creating RPG Game from scratch!

Thanks for the awesome tutorial series - I always love the create-from-scratch tutorial. I have a suggestion for the next episode: most RPG game has third person orbit camera - like the game: God Slayer Online ( here is an example on Youtube). Have you consider creating tutorial for orbit camera? I ...

CryEngine 5.4 - How to create orbit camera with C++

I tried to figure out a way to switch from the current third person camera (with aiming style) to orbit style. First, I tried to remove the aiming style by comment out these 2 lines: this and this So now I can turn the camera without turning the character. But I wonder if the class CCameraComponent ...

Re: CryEngine 5.4 source code - float A != float B ? should it be absolute of float A - float B > Epsilon instead?

What if you tried this?

Code: Select all

if (!m_rotation.IsEquivalent(qRotation))
{
// do stuff if bother aren't equivalent
}
I just mean to ask if the code I mentioned (which is the code of the Engine) is a bug. And should we fix that code (and any similar one)?

CryEngine 5.4 source code - float A != float B ? should it be absolute of float A - float B > Epsilon instead?

For example, this code if (m_qRotation.v != qRotation.v || m_qRotation.w != qRotation.w) { nWhyFlags |= ENTITY_XFORM_ROT; changed++; m_qRotation = qRotation; } where m_qRotation.w and qRotation.w are float values. So imagine I'm debugging C++ 3rd person template project, I put the break point at thi...

Re: CryEngine 5.4 - Improve the default third person movement system

Has anyone changed the default third person movement system (it's like character-based movement which - I think - like GTA Vice City movement style) to third person camera-based movement style (Like GTA SanAndreas movement style). camera-based movement style is pretty popular, many titles have used ...

Re: How does Cryengine works?

Gonna warn you, to learn CryEngine, you have to be determined. But don't worry, it's much easier than the old days when there was almost no learning material. Ok, here we go, (it's just my personal option, though) Step 1: Follow this tutorial series [TUTORIAL] 5.4 - Creating RPG Game from scratch! b...

Go to advanced search