How to cycle through multiple object one at a time using a key?
Page 1 of 1
How to cycle through multiple object one at a time using a key?
Hello
I see on example function in documentation page we can cycle through multiple object, but it seems depends only on refresh rate (in seconds) to how long each object appear.
I want to use that example to use in my addon but not using refresh rate command to determine which object should appear ,instead i want to keymap that function to other key.
So when start simulation object1 should appear and when i press a key swap object1 to object2 and so on, when current object appeared is the last object after key pressed it should swap back to object1.
This function is very usefull if the train have multiple variant of livery, so the user dont need to quit to main menu to select other variant.
I see on example function in documentation page we can cycle through multiple object, but it seems depends only on refresh rate (in seconds) to how long each object appear.
I want to use that example to use in my addon but not using refresh rate command to determine which object should appear ,instead i want to keymap that function to other key.
So when start simulation object1 should appear and when i press a key swap object1 to object2 and so on, when current object appeared is the last object after key pressed it should swap back to object1.
This function is very usefull if the train have multiple variant of livery, so the user dont need to quit to main menu to select other variant.
ADbve- Posts : 72
Join date : 2020-05-14
Similar topics
» should default option for object optimization mode in object viewer is low or high instead none ?
» Unable to load wavefront object in Object Viewer
» Massive *.csv object vs. composite *.animated object
» Why are BVE route downloads split into multiple files?
» object using new renderer in object viewer not blend texture correctly than using old renderer
» Unable to load wavefront object in Object Viewer
» Massive *.csv object vs. composite *.animated object
» Why are BVE route downloads split into multiple files?
» object using new renderer in object viewer not blend texture correctly than using old renderer
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum