Editing Vessel Tutorial 2
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 553: | Line 553: | ||
So, now we can call SetupMeshes whenever we originally set up the vehicle state in clbkSetClassCaps, and whenever the configuration changes, like in Jettison. Replace the AddMesh line there with a call to SetupMeshes: | So, now we can call SetupMeshes whenever we originally set up the vehicle state in clbkSetClassCaps, and whenever the configuration changes, like in Jettison. Replace the AddMesh line there with a call to SetupMeshes: | ||
− | SetupMeshes(); | + | void SetupMeshes(); |
Also, add this line to the bottom of the Jettison method, after the case statement. | Also, add this line to the bottom of the Jettison method, after the case statement. | ||
Line 573: | Line 573: | ||
Check here for the [[Surveyor Source Code]] | Check here for the [[Surveyor Source Code]] | ||
− | + | ||
[[Category:Tutorials]] | [[Category:Tutorials]] | ||
− |