Thanks for your answer.
It's just general Code examples. For example I want to use Class or Method XYZ, then it would be nice if I could go to the documentation and search XYZ and get a simple code example where the function or class is used.
Another example, I have an entity class in my game. I would like to do some collision checking on it. I can search through the documentation and find that the Raycast class has a collider on it. But what do I need to do with it, do I need to add a new component, does all entities have colliders on them by default, do I need to override a specific method to get info about collisions, do I even need to use the raycast class? I can read about the members in your doxygen, but I don't even know where to begin to do some collision checking from my code.
For example if I compare with Unity documentation, I search for Collider in their documentation. There is a whole list of members variables, functions etc. There is something called OnTriggerEnter, I click it and there is a code example and an explanation. That's kinda what I'm missing.
EDIT: Maybe you can answer this. I created a simple entity, just to try it out. It has a function called Move:
Code: Select all
public void Move()
Entity.Transform.AddTranslation(new Vector3(1, 1, 1));
Inside SampleApp.cs I'm trying to execute the function like so inside OnKey. The entity is instantiated inside SampleApp's constructor.
Code: Select all
When I press the P key, sandbox just shutsdown instantly without any errors or anything, it's just shuts down in a split second. What am I doing wrong here?
Im trying to follow this guide in your documentation: http://docs.cryengine.com/pages/viewpag ... d=25531348
Right away it states that I need to inherit from BaseEntity, the class doesn't exist in 5.3. What alternative class do I need to inherit from? It states that it should be inside Cryengine.Common namespace, I included it, but I still can't find the class.