what replaces EntityPhysicBody()?
what replaces EntityPhysicBody()?
I have a small program that gets compiler warnings of a depreciated function EntityPhysicBody(). What replaces it? The only reference I can find in help is that it was added to the engine3D.
Re: what replaces EntityPhysicBody()?
It was replaced by CreateEntityBody() in Version 5.40 LTS.
CreateEntityBody() adds a lot more optional parameters but you should be able to simply rename the function because the first two parameters are the same.
CreateEntityBody() adds a lot more optional parameters but you should be able to simply rename the function because the first two parameters are the same.
Re: what replaces EntityPhysicBody()?
Thank you.
Too bad they didn't leave the depreciated entries in help, with "here's what you should use instead..."
Much appreciated.
Too bad they didn't leave the depreciated entries in help, with "here's what you should use instead..."
Much appreciated.
Re: what replaces EntityPhysicBody()?
There is an entry in the History list where the change was made.
It states "- Changed: EntityPhysicBody() to CreateEntityBody()".
It states "- Changed: EntityPhysicBody() to CreateEntityBody()".
Re: what replaces EntityPhysicBody()?
Silly me -- I looked in "Change" to find out what had changed with it...Demivec wrote:There is an entry in the History list where the change was made.
It states "- Changed: EntityPhysicBody() to CreateEntityBody()".
Thanks.