Search found 118 matches

Re: New to CRYENGINE? Our Getting Started Guide has got you covered!

@dai45: I agree that CryEngine V doesn't have awesome tutorials like Unity (for now), but Crytek is trying to improve it, Let's hope there will be awesome official tutorials for community coming soon. In my opinion, Lacking of good tutorials is really a critical damage. What the point of being so po...

Re: Which hash string function should I use in CryEngine?

The hashing functions use known algorithms to "parse" a string and produce a fixed size output. In the examples you gave the output would be a 32bit (unsigned) integer. This means that collisions can occur if your string is too long. Technically, depending on the algorithm used it doesn't necessari...

Re: Which hash string function should I use in CryEngine?

Thanks for the good tips :) So I see that we should use this macro CONST_TEMP_STRING const char *szKey= "Test"; map< string, int >::const_iterator iter = m_values.find( CONST_TEMP_STRING( szKey ) ); // Good way map< string, int >::const_iterator iter = m_values.find( szKey ); // Bad way, don't do it...

Re: Is there a math utility (help to do things like: get angle between 2 vector, get yaw from a vector,...) in CryEngine

The angle between two vectors should just be the dot product. This is scaled from -1.0 to 1.0 which is actually perfect for plugging into many calculations. Convert it to some other scalar if you really need to. Let me Google that for you . That's a pretty 'mathy' page, but at least it will have fa...

Go to advanced search