Mantis Bug Tracker

View Revisions: Issue #8117 All Revisions ] Back to Issue ]
Summary 0008117: llSetPhysicsMaterial cannot be virtually used due to the compilation error.
Revision 2017-01-07 22:20 by makopoppo
Additional Information Looking into ILSL_Api.cs, I found that llSetPhysicsMaterial was defined as the following:

----
void llSetPhysicsMaterial(int material_bits, float material_gravity_modifier, float material_restitution, float material_friction, float material_density);
----

Since there is no other functions which has float value in arguments, I suspect that the parse logic concerning to float type has any flaw, or LSL_Float or double type should be used instead.
Revision 2017-01-07 22:13 by makopoppo
Additional Information Looking into ILSL_Api.cs, I found that llSetPhysicsMaterial was defined as the following:

----
void llSetPhysicsMaterial(int material_bits, float material_gravity_modifier, float material_restitution, float material_friction, float material_density);
----

Since there is no other functions which has float value in arguments, I suspect that the parse logic concerning to float type has any flaw or LSL_Float type should be used instead.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker