Please I need your support for below. I imported a scene from model library into playground and now want to move the aero plane with keyboard but I am not able to move aero plane.
My code is as below.
var delayCreateScene = function () {
var scene = new BABYLON.Scene(engine);
BABYLON.SceneLoader.ImportMesh("", "https://models.babylonjs.com/", "aerobatic_plane.glb", scene, function (meshes) {
scene.createDefaultCameraOrLight(true, true, true);
scene.createDefaultEnvironment();
});
return scene;
Thereâs not any line of code about keyboard in your playground⌠Read the docâ, linked twice above your last message, and at least try something then.
Please see below screenshot as I am getting error.
TS2339: Property âpositionâ does not exist on type âISceneLoaderPlugin | ISceneLoaderPluginAsyncâ.
Property âpositionâ does not exist on type âISceneLoaderPluginâ.
Sorry cannot work from a screenshot of code. Please provide a playground of your code even f it does not work. You can switch to typescript in the playground Playground | Babylon.js Documentation