Jelajahi Sumber

AmmoJS - Create Custom Impostor Fix

Typedoc Fixes
Mackey Kinard 5 tahun lalu
induk
melakukan
d08bc11bb5
1 mengubah file dengan 2 tambahan dan 1 penghapusan
  1. 2 1
      src/Physics/Plugins/ammoJSPlugin.ts

+ 2 - 1
src/Physics/Plugins/ammoJSPlugin.ts

@@ -145,7 +145,8 @@ export class AmmoJSPlugin implements IPhysicsEnginePlugin {
 
     /**
      * The create custom shape handler function to be called when using BABYLON.PhysicsImposter.CustomImpostor
-     * @returns the current timestep in seconds
+     * @param impostor to create the custom shape for
+     * @returns the custom physics impostor shape
      */
     public onCreateCustomShape: (impostor: PhysicsImpostor) => any;