How to make a plugin with a building so that the building does not turn when the camera turns?
Moderator: Plugin Moderators
- Chanel_joom
- Settler
- Reactions:
- Posts: 2
- Joined: 26 Aug 2023, 14:27
How to make a plugin with a building so that the building does not turn when the camera turns?
how to make the building in the plugin not rotate? What function should I write in the code?
- FVI
- Inhabitant of a Solar System
- Reactions:
- Posts: 1624
- Joined: 22 Feb 2022, 18:00
- Location: That island above France
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: How to make a plugin with a building so that the building does not turn when the camera turns?
You must include 4 textures
- ur_sc4_guy
- Metropolitan
- Reactions:
- Posts: 135
- Joined: 16 Jun 2022, 20:01
- Location: Any ambanivohitra any e, Madagascar
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: How to make a plugin with a building so that the building does not turn when the camera turns?
- FVI
- Inhabitant of a Solar System
- Reactions:
- Posts: 1624
- Joined: 22 Feb 2022, 18:00
- Location: That island above France
- Plugins: Showcase Store
- Version: Beta
-
Platform
Re: How to make a plugin with a building so that the building does not turn when the camera turns?
Yes, you're right.ur_sc4_guy wrote: ↑01 Sep 2023, 15:01Doesn't this have the inverse desired effect?
I mean, I think he/she is asking to not make it rotation-aware.
Put "false" instead of "true"
- Kulche
- Pluche
- Reactions:
- Posts: 1158
- Joined: 07 Jun 2017, 20:28
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: How to make a plugin with a building so that the building does not turn when the camera turns?
First of all, this attribute is a boolean so you don't put it in quotation marks. I assume "the building turns when the camera turns" means that simply the building has no rotation frames. If you want it not to rotate you have to provide a total of 4 frames and use "rotation aware": true.