Jump to content

Recommended Posts

Posted

Thanks YouGroove. I added that to the Lua snippets (I changed it for lua). Thanks shadmar any and all will help it become a great resource for all.

 

[edit]

YouGroove, I can't get that to work in Lua. Have you tried it in Lua yet?

Posted

Nope, yo ucan put it in some C++ section.

I will translate it to Lua as i need turrets rotating to player, if we have Math::ATan2(v.y,v.x) in Lua , it's possible.

Stop toying and make games

Posted

Here is a code to rotate towards an entity that you can port to Lua too:

 

Vec3 cur = myEntity->GetRotation(true);
myEntity->Point(targetEntity);
myEntity->Turn(0, 180, 0);
myEntity->SetRotation(Vec3(cur.x, myEntity->GetRotation(true).y, cur.z));

 

btw I tried the code posted above that uses ATan2 in C++ but it seems my header hasn't the operator "-" for Vec2, it's only defined in Vec3.

  • Upvote 1

?? FRANCESCO CROCETTI ??

http://skaredcreations.com

Posted

Some of the code snippets I would like to see are how to open and close doors of a building or how to make an elevator go up or down and stop in exactly the right place. That kinda thing.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

You can. I originally was thinking that it's sort of a bummer if you have to create an account to modify it as it's a layer that some people might not want to take, but it might just be required. Where are you seeing this though?

Posted

I don't have this in chrome, but looks like other browser do have it.

 

It is also not embedded in the page article itself. Thus either wikidot itself is doing this or it is spam from a deeper level inside wikidot.

Posted

Multiple pages. The main page has it at the bottom but easier to see on a page like this:

http://leadwerks.wikidot.com/wiki:startin-c

 

Screenshot:

http://i40.tinypic.com/30ku539.jpg

 

That would be an add?

 

you can add

 

.wd-adunit { display:none; }

 

to your user style sheet if you dont want to see it - or use add block

System:

Linux Mint 17 ( = Ubuntu 14.04 with cinnamon desktop ) Ubuntu 14.04, AMD HD 6850, i5 2500k

Posted

Even if Josh would add the wiki to the links under documentation, we first need to be sure that we get rid of the adds and add a lot of articles to the wiki. It is still very early for the wiki to have enough information to be a good wiki.

Posted

The adds are only showing if you are not registered at the site. Wikidot does this automatically to get generate income for keeping their wiki sites cost free. Now we know that isn't a problem we can continue filling up the wiki.

  • Upvote 1
Posted

@Roland I feel like it seems like a low priority to Josh at this time so in the meantime I figured we could get something going and see what the supply and demand is like.

Posted

I couldn't figure out how to actually make one of these. Am I missing an add button or something? The thing is this is more than just Steam :-/. I think (hope) most of those people eventually come here instead of the Steam forums once they get into Leadwerks more.

 

Nevermind I see it in the Steam app now.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...